【问题标题】:how to enable C++11 or C++14 in Dev C++ IDE如何在 Dev C++ IDE 中启用 C++11 或 C++14
【发布时间】:2021-01-29 22:05:05
【问题描述】:

我正在尝试在 Dev C++ IDE 上编译它,但它显示了这个错误:

error This file requires compiler and library support for the

  ISO C-+ 2011 standard. This support is currently experi Ical, and it be emblem with the -stdest or -stdagno 11 compiler options

【问题讨论】:

    标签: c++ c++11 c++14 dev-c++


    【解决方案1】:

    在 DevC++ 中遵循这些步骤。

    转到工具 -> 编译器选项... -> 设置 -> 代码生成

    在语言标准(std)中,选择-> ISO C++11

    更多https://www.geeksforgeeks.org/how-to-fix-auto-keyword-error-in-dev-cpp/

    【讨论】:

      【解决方案2】:

      表单softwaretestinghelp Q #2) Does Dev C++ support C++11?

      • 为此,请单击 Dev-C++ IDE 中的工具。
      • 接下来点击编译器选项…
      • 点击下方的“设置”标签。
      • 在设置标签中,我们可以看到“代码生成”标签。
      • 单击“Language Standard (-std)”值并将其设置为“ISOC++11”或“GNUC++11 strong>”根据您的要求。

      下面的屏幕截图将有助于实际更改选项。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2013-12-24
        • 2012-11-16
        • 2017-04-24
        • 2014-12-06
        • 2013-05-29
        • 1970-01-01
        • 2016-12-31
        相关资源
        最近更新 更多