Passing arguments to a C++ program in Eclipse

别说谁变了你拦得住时间么 提交于 2019-12-11 12:54:44

问题


I have a C++ program written using Eclipse CDT. This program needs arguments to be passed to it. How can I do that using Eclipse CDT?

Thanks.


回答1:


You'll find the option under "Run->Run Configurations". Just enter the options here as normal and hit "Run".



来源:https://stackoverflow.com/questions/5217931/passing-arguments-to-a-c-program-in-eclipse

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!