You can't merely #include <string> (or other standard C++ headers) in Visual C++ and then use these things as you normally would with a *real* compiler. Instead of using string: ... 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 |