What would prompt an error telling me that "std is not recognized as a namespace, blah blah blah..." while attempting to use 'std::string'? Obviously std is a namespace, so that error seems rather absurd to me.
This is a discussion on namespaces within the C++ Programming forums, part of the General Programming Boards category; What would prompt an error telling me that "std is not recognized as a namespace, blah blah blah..." while attempting ...
What would prompt an error telling me that "std is not recognized as a namespace, blah blah blah..." while attempting to use 'std::string'? Obviously std is a namespace, so that error seems rather absurd to me.
You aren't including the proper header, so the compiler can't find the std namespace!
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^
Ah... thanks. I guess I overlooked it since it normally tells me "unreferenced identifier" when I forget to include the header. Stupid me!