This is an answer to the second part of the question, “but I can't pass parameters to the program”, i.e. how to obtain the command line arguments in a Visual C++ Windows app. The simplest but also most limited way is to use the arguments of a standard C++ main, int main( int argc, c...