g++ error:This file requires compiler and library support for the ISO C++ 2011 standard解決方法

這個問題是由於沒有使用c++11標準進行編譯的結果 應該這樣執行

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

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章