- In Solution Explorer, right click on your project name
- In appeared context menu, click on "Properties"
- In "Properties" window, click on "Debug"
- In "Start Option" part of page, you can find "Command line arguments" text box

The following picture shows passing command line arguments in a C++ project in Visual Studio when you have opened "Properties" windows to access to debugging options:

No comments:
Post a Comment