This topic is now archived and is closed to further replies.

string wont work!!

This topic is 5013 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

You need to either use "std::string my_string;" to make the string, or include the string class in the global namespace by putting this code after your includes:

using namespace std;

Then you can just use "string my_string;". Its recommended you use the "std::string" method.

Hope this is the problem.

Share this post

Link to post
Share on other sites