Passing command line arguments in Visual Studio 2010?

后端 未结 5 992
一个人的身影
一个人的身影 2020-11-27 02:49

I am working on a C project and can not figure out how to pass command line arguments to my main function in Visual Studio 2010 Express Edition. I want to debug - how do the

5条回答
  •  生来不讨喜
    2020-11-27 03:41

    • Right click your project in Solution Explorer and select Properties from the menu
    • Go to Configuration Properties -> Debugging
    • Set the Command Arguments in the property list.

    Adding Command Line Arguments

提交回复
热议问题