Need to enable C++11 in Codeblocks

前端 未结 4 1993
梦毁少年i
梦毁少年i 2020-12-17 17:09

I need to enable C++11 in Codeblocks 16.

Several tutorials explain that all one needs to do is select the \"Have g++ follow the C++11 ISO C++ language standard

4条回答
  •  情话喂你
    2020-12-17 17:45

    This is how Code::Blocks 16.1 with the newest included version of GCC (TDM-GCC 4.9.2) is supposed to look like.

    You can check your GCC version with the command

    gcc --version
    

    gcc.exe is located under ./CodeBlocks/MinGW/bin

    When downloading from CodeBlock's website, make sure you download codeblocks-16.01mingw-setup.exe.

提交回复
热议问题