I'm sure.
I included these header files like this now:
#include <vector>
#include <string>
#include <cstdlib>
The line where it gets the error is:
std::string filename = dlg.GetPathName();
The error message:
'std' : is not a class or namespace name
Hi,
I have just started programming using microsoft Visual C++ 6.0.
I want to use Vector and String in my code and so I included <vector> and <string>, but I get the error message " 'std' : is not a class or namespace name ".
The code looks like this:
include# <string>
include#...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.