You can pass arguments on the command-line to your program
Variable argc is the number of parameters on the command-line. This value is at least 1, since the name of the program is the first parameter. The variable argv points to the list of arguments.Code:int main (int argc, char **argv) { int retval; return retval; }
>I have Microsoft Visual C++ 6.0 Enterprise.
And that's running under DOS?