“未定义标识符string”  解决方法:

头文件加上

#include <iostream>
using namespace std;

string是标准库的,要加std::string,或使用using namespace

相关文章:

  • 2022-02-10
  • 2022-01-07
  • 2022-02-23
  • 2021-06-20
  • 2021-09-23
  • 2022-12-23
  • 2021-12-13
  • 2022-12-23
猜你喜欢
  • 2021-08-27
  • 2022-02-02
  • 2021-07-12
  • 2021-09-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案