Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

Command arguments do not pass when entered through project properties

$
0
0
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

Viewing all articles
Browse latest Browse all 15302

Trending Articles