Code::Block

IDECode::Blocks  12.11版本号

CompilerTDM-GCC        http://tdm-gcc.tdragon.net/           TDM64 Bundle GCC 4.8.1

问:什么是TDM-GCC

答:A compiler suite for 32- and 64-bit Windows based on the GNU toolchain

 

tdm-gcc 官网:

 C++ 11开发环境的搭建(Windows Platform)

 

TDM-GCC 安装。路径任意。

C++ 11开发环境的搭建(Windows Platform)

 

IDE配置。

编译选项记得打钩。

C++ 11开发环境的搭建(Windows Platform)

 

IDE配置。

编译器路径和对应.exe程序。

C++ 11开发环境的搭建(Windows Platform)

 

IDE配置。头文件、库文件寻找文件夹。

C++ 11开发环境的搭建(Windows Platform)

配置好头文件包括文件夹,就能在编写源码的时候查看头文件和类的声明与定义。

C++ 11开发环境的搭建(Windows Platform)

C++ 11开发环境的搭建(Windows Platform)

 

设置完成。

试一下新标准中的Lambda表达式吧。

能够成功构建、执行。

亲切的Hello World。

 

CFree


CFree是一个更轻量级的C++IDE。它自带mingw5。但版本号较旧,想支持C++11的话。要手动配置不少东西。C11开发环境配置见下。


菜单选择。构建|构建选项|新建配置。命名任意,以C++11为例。

C++ 11开发环境的搭建(Windows Platform)

C++ 11开发环境的搭建(Windows Platform)

C++ 11开发环境的搭建(Windows Platform)

 

 

 

 

相关文章:

  • 2021-08-02
  • 2021-11-26
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-20
  • 2022-12-23
  • 2021-09-16
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案