How specifiy command line option?
how do i specify command line options (arguments to my program) when i'm running my console app from vc++ 6.0? my main is declared as follows:
int main(int argc, char** argv) {
return 0;
}
thanks for the help...
-christopher bottaro
[email protected]
Re: How specifiy command line option?
To pass parameters to the application, go to Project|Settings from the menu, then hit the Debug tab. Select 'General' category from the dropdown, then enter your params in the 'program arguments' edit box.
- Nigel