Hello,
I have a problem with an std::string that is a member of a class.
It is simply declared in the public section of my class like this: "string s;". The class is does not have a cpp file because it only has a bunch of data members. When I try to use it somewhere else like: "cout << myclassinstance->s;" my program crashes. myclassinstance is not null, and I am able to use other members of it of type bool.
What could be the problem?