Linux Ubuntu 用c++11编译

加上:

-std=c++11

例如:

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

 

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