I'm running visual c++ 6.0 enterprise. The following won't compile, even though I copied it directly from the source reference on this website. I added the ".h" on all my includes, etc. It keeps telling me std isn't a valid namespace, and I tried every "workaround" i could think of.
My suggestion is not to use vc++ 6.0 for the modern standard libraries. CString of Mfc is what I would use for vc++ 6.0. I would go to a different compiler that understands the modern standards of C++. VC++ 6.0 was before the 98 standard was finalized, I believe. I do know there is a version of the STL that can compiler on it but I don't know what of the 98 standard it might expect to get to it.
Under vc++ 6.0 it might not have <string> library, which is part of the 98 STL standard. The Using command may not be part of it as well. Name spaces weren't required on that compiler.