c/c++ 编译错误汇总

2021-01-19 14:12

阅读:444

标签:exp   nta   res   g++   erro   compile   support   解决方法   stand   

问题1.

error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

解决方法:

//g++ 后面加上 -std=c++11
g++ -o regex regex.cpp --std=c++11

c/c++ 编译错误汇总

标签:exp   nta   res   g++   erro   compile   support   解决方法   stand   

原文地址:https://www.cnblogs.com/rootshaw/p/12909481.html


评论


亲,登录后才可以留言!