Hi everyone,
I am using Visual C++ 2005 express edition to develope a console application. The program requires command line arguments input and takes actions according to argc and argv.
My problem is, I could not pass the arguments through "Project -> properties -> Debugging -> Command Arguments", therefore couldn't debug the program. The argc is always 1(accounts for command name) no matter what I put in the Command Arguments field.
Does anyone know where the problem is?
Thanks,
Mengchen
I am using Visual C++ 2005 express edition to develope a console application. The program requires command line arguments input and takes actions according to argc and argv.
My problem is, I could not pass the arguments through "Project -> properties -> Debugging -> Command Arguments", therefore couldn't debug the program. The argc is always 1(accounts for command name) no matter what I put in the Command Arguments field.
Does anyone know where the problem is?
Thanks,
Mengchen