在Eclipse中将参数传递给C ++程序 [英] Passing arguments to a C++ program in Eclipse

查看:149
本文介绍了在Eclipse中将参数传递给C ++程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用 Eclipse CDT 编写的C ++程序。这个程序需要传递给它的参数。我如何使用 Eclipse CDT

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?

谢谢。

推荐答案

您可以在运行 - >运行配置下找到该选项。
正常输入这里的选项,然后点击运行。

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

这篇关于在Eclipse中将参数传递给C ++程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆