“未定义标识符string” 解决方法:
头文件加上
#include <iostream>
using namespace std;
string是标准库的,要加std::string,或使用using namespace
“未定义标识符string” 解决方法:
头文件加上
#include <iostream>
using namespace std;
string是标准库的,要加std::string,或使用using namespace
转载于:https://www.cnblogs.com/zhoudingcocng/p/5775099.html