问题
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