string does not name a type#includestring过了。。以前没遇到过 今天肿么出这种问题??[解决办法]#includ
string does not name a type
#include<string>过了。。以前没遇到过 今天肿么出这种问题??
[解决办法]
#include <string>
using namespace std;
这样就可以了
[解决办法]
同楼上,可能是没有引入名字空间吧
或者实用std::string也可以
string does not name a type
#include<string>过了。。以前没遇到过 今天肿么出这种问题??
[解决办法]
#include <string>
using namespace std;
这样就可以了
[解决办法]
同楼上,可能是没有引入名字空间吧
或者实用std::string也可以