Codeblocks - Project - -std=c++11

Codeblocks - Project - -std=c++11

1. Codeblocks

  1. Settings -> Compiler…

  2. GNU GCC Compiler
    在这里插入图片描述

  3. Compiler settings -> Compiler Flags
    Have g++ follow the C++11 ISO C++ language standard [-std=c++11]
    在这里插入图片描述

  4. OK

2. Project

  1. Project -> Build options…
    Have g++ follow the C++11 ISO C++ language standard [-std=c++11]

  2. Debug
    在这里插入图片描述

  3. Release
    在这里插入图片描述

发布了443 篇原创文章 · 获赞 1685 · 访问量 101万+

猜你喜欢

转载自blog.csdn.net/chengyq116/article/details/104295853