i use the Lawrenceville Press string library and i have had problems with it before, so it could be that the string class is not properly constructed in it. i guess i should try and find a diffrent one. Thx for the help.btw if you could tell me where i could get the string library file your using it would be very helpful because i can't seem to find one on the net.
The C++ Standard Library already comes with the string class that melkiy used. Just make sure you're using a decent compiler and dont forget to #include<string>