You can't merely #include ... you have to either put std:: in front of every reference to the
standard library:
... or use the standard namespace after you include your first
standard C++ header:
Keywords: MFC, Visual C++, #include #include <string>
struct node {
string s;
}
node * next;
#include <string>
struct node {
std::string s;
}
node * next;
#include <string>
using namespace std;struct node {
string s;
}
node * next;