解决方法:指定c++11
g++ -std=c++11 -o test test.cpp
本文标题:error: in C++98 ‘xxx’ must be in
本文链接:https://www.haomeiwen.com/subject/jmzhuhtx.html
网友评论