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

相关文章:

  • 2022-12-23
  • 2021-04-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案