g++默认支持c++11标准的办法

//第一种,直接包含在源程序文件中,如第一行代码所示 #pragma GCC diagnostic error "-std=c++11" #include <iostream> using namespace std; int main(int argc,char **argv) { cout<<"hello world!"<<endl; auto i=10; cout<<
相关文章
相关标签/搜索