摘要: string' : undeclared identifier 错误:#include #include ……string st("test string");……error C2065: 'string' : undeclared identifier解释:#include using namespace std;因为在 using namespace std; 情况下,#include 是使用 C++ string 类库;#include 是使用 C 的string 操作库函数 ...细节 加不加“.h”#include #include usi 阅读全文
posted @ 2013-07-08 11:02 cree 阅读(856) 评论(0) 推荐(0) 编辑