Linux Ubuntu 用c++11编译

加上:

-std=c++11

例如:

g++ test.cpp -o test -std=c++11

 

posted @ 2019-07-09 10:43  bloglxc  阅读(392)  评论(0)    收藏  举报