Dumb question about strings

Started by
1 comment, last by Rozik 18 years ago
ok i changed my code from char* to strings when i was done with chars i delteted it to free the memory do i have to delete a sting when i am done with it and if so what do i call to free the memory? sorry if the question is stupid
Advertisement
If you are using std::string then it will clean itself up when it goes out of scope.
yay thx a lot for the info

This topic is closed to new replies.

Advertisement