Search This Blog

Thursday, June 25, 2009

Visual Studio 2008 : Command line arguments \ C++

On the main IDE window's menu bar choose Project -> {project name} Properties. That opens the project's property pages. You can specify command line arguments under Configuration Properties -> Debugging -> Command Arguments. Just type in exactly what you would type at the command line after the program name.

If you want the command line to look like this:
<b>edsprogram.exe -I foo -U "bar baz"</b>

you should put this in the command <strong class="highlight">argument </strong>field as :
<b>-I foo -U "bar baz"<br /><br />Ref: http://www.daniweb.com/forums/thread128074.html<br /></b>


No comments: