最新版本的Dev C++(即5.11版),经过以下操作后可完美使用新版本C++标准。

1、Tools  ——> Compiler Options. 

如何让Dev C++可以使用C++11、C++14标准

 

2、勾选“Add the following commands when calling the compiler:”,填入"-std=c++11" 或者"-std=gnu++11"

如果要支持c++14,可以填入"-std=c++14" 或者"-std=gnu++14"

如何让Dev C++可以使用C++11、C++14标准

相关文章:

  • 2021-11-03
  • 2022-12-23
  • 2021-11-29
  • 2022-01-16
  • 2021-05-08
  • 2022-12-23
  • 2021-10-30
猜你喜欢
  • 2021-09-11
  • 2021-07-08
  • 2021-08-02
  • 2021-04-26
  • 2021-10-07
  • 2022-12-23
相关资源
相似解决方案