【问题标题】:Command line parameters in netbeansnetbeans 中的命令行参数
【发布时间】:2013-05-18 21:26:55
【问题描述】:

我想像使用终端一样运行我的程序。因为我想根据程序用户在运行时提供的属性来做不同的事情。有没有办法在netbeans中做到这一点?

【问题讨论】:

  • Project Properties->Run->Arguments in 6.9.1 适用于 Java。我敢打赌 C++ 也一样。
  • 我忘了说我使用的是 Netbeans 7.2

标签: c++ netbeans command-line-arguments


【解决方案1】:

this tutorial which explains how to specify command line arguments for a C++ project in Netbeans 7.2

它的工作方式与 Java 非常相似,您可以右键单击项目,选择“属性”,然后选择“运行”页面,然后设置在 Netbeans 中运行应用程序时要提供的命令行选项。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-03-29
    • 1970-01-01
    • 1970-01-01
    • 2016-05-25
    • 2012-04-17
    • 2012-02-28
    • 1970-01-01
    相关资源
    最近更新 更多