views:

3947

answers:

2

I've got a console application that compiles and executes fine with Visual C++ 6.0, except that it will then only get as far as telling me about missing command line parameters. There doesn't seem to be anywhere obvious to enter these. How do I run or debug it with command line parameters?

+6  A: 

I assume you're talking about setting the command line parameters for running in the IDE.

Open the Project/Settings property page and go to the Debug tab.

There's a "Program arguments" field you can put them into.

Michael Burr
Yes, for running in the IDE.
Rob Kam
+2  A: 

If I remember correctly, under Project/Settings/Debug tab there is a place to enter the command line parameters. It's the "Program arguments" field.

Greg Hewgill