[英]Specifying command line arguments from the command prompt
How do you specify command line arguments from the Visual Studio Command line prompt? 如何从Visual Studio命令行提示符中指定命令行参数?
Let's say I want to start my Main with an array of letters or something. 假设我要以一个字母或其他内容开头的Main。 In Visual Studio 2010 I'd go through the debugging tab but I have no idea how to do that with the command line prompt.
在Visual Studio 2010中,我将通过“调试”选项卡,但是我不知道如何在命令行提示符下执行此操作。
您只需在exe名称后添加它:
myProg.exe arg1 arg2 arg3
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.