- 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
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiq6avKpsSdCwMT3YwRwYzMG5PI6KbrRBBXShYsiw1-4J9z6u6ahW92OGl9FiSKRd29_lLiLEWUHktopaargzgib0seR4oxY7DRW8bEubRV7SBhHujaUddUEuXvTj1Vsq4zvVDtrXK8UE-7/s400/2009-01-19-CommandLineArguments.jpg)
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:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQH1Kn2LSaS_03zLVdpS8Dg7MAQgzfzg4w1RPrvrbEuITWR5i4cUGQoViF1o284P6BXhJo9eCtNK2k9dg5FgG8b7ojH8OJcH0FMz3bCVL8qxDDuHPLZkdLyzug7EpUBhHuh-AGU4bBTQni/s400/2009-01-19-Cplusplus-CommandLineArguments.jpg)
No comments:
Post a Comment