How in Visual Studio 2005 to make so that on F5 (running the program under debugging) the program runs with the given arguments? C ++ program
3 answers
I don’t know how in the 2005 version, but in 2008 it should be done like this: Project -> имя_твоего_проекта Properties -> Configuration Properties -> Debugging and on the right in the window there will be a field called Command Arguments. There and enter the arguments. Should work.
- Thank! Happened! - suptan
|
I do not remember how in 2005, and in 2010 like this:
- Project -> Properties
- Debug -> Command Arguments
And write those values in the line that you want to pass when you start the program.
|
In the project settings, specify the correct keys to run the program.
|