c++程序使用linux编译时候,迭代器这里报错:for (auto it=confidences.begin(); it != confidences.end(); ++it),解决方法就在报错提示中,在g++后面加一个 --std=c++11或者-std=gnu++11。
g++编译:error: ‘it’ does not name a type
猜你喜欢
转载自blog.csdn.net/u010420283/article/details/109782294
今日推荐
周排行