A Code Monkey's Blog

Do you want to debug a program with command line parameters in Visual C++ 2008?

Set them in project->configuration properties->Debugging. But there is one more thing to do: Set your project as the Startup Project in the Solution Explorer! If you don't do that, the command line parameters won't be passed in whatever you try!