Tuesday, 3 April 2018

c++ - Debugging with command-line parameters in Visual Studio

Microsoft Visual Studio Ultima 2013.


You can just go to the DEBUG menu → Main PropertiesConfiguration propertiesDebugging and then you will see the box for the command line arguments.


Actually, you can set the same input arguments for all the different configurations and not only for debugging.


From the pull down menu of configuration select: All Configurations and insert the input arguments (each argument separated by space).


Now, you can execute your program in different modes without having to change the input arguments every time.

No comments:

Post a Comment

casting - Why wasn't Tobey Maguire in The Amazing Spider-Man? - Movies & TV

In the Spider-Man franchise, Tobey Maguire is an outstanding performer as a Spider-Man and also reprised his role in the sequels Spider-Man...