“未定义标识符string” 解决方法:
头文件加上
#include <iostream>using namespace std;
string是标准库的,要加std::string,或使用using namespace
posted on 2016-08-16 09:22 czhoud 阅读(9344) 评论(0) 编辑 收藏 举报