HELP - visual C++ 6, can't get standard string's to work

rnimz

Member
May 24, 2000
132
0
0
Ok I just switched to Visual C++ 6, recently because I was using 5 and I tried to use the built in C++ string class, and I was told that 5 did not have it included, so now I am trying to get it to work and I cannot get strings to work at all in 6 either, I have tried using <string> <string.h> <String> and <String.h> and I am at a loss, the code compiles fine under G++ on my schools unix system, but I don't like to have to telnet into it just to work on my programs, if anyone could tell me how to get them to work in visual C++ 6 I would really appreciate it. Thanks in advance.

-Reid Nimz
 

rnimz

Member
May 24, 2000
132
0
0
ok never mind, my professor for some reason put a bunch of using namespace std; lines in the headers he gave us, which screwed everything up, it works now.