I want to be able to use VS2010 and still pass command line arguments to it somehow.

When I am building an application that needs to use argv[], I need to compile it and run it from the command line. That is becoming boring sometimes especially when I want to use the VS2010 debugger too.

So please show me a way to pass arguments to use with combination Ctrl- F5 ( build and run ).

Under Project/Properties/ConfigurationProperties/Debugging/CommandArguments

commented: Thank you, that helped! +1

1) First open command prompt
2) run devenv <Full path of your exe>
3) In VS IDE do Project->Properties->ConfigurationProperties->Debugging->CommandArguments