Hello pro's,
I'm studying pointers and i'm having trouble using a get and set function of an object that is a pointer of a class (think I worded that right), if anyone could tell me what i'm doing wrong it would be a huge help :)
Something else to note: The object std::string is itself not an array, it has it's own destructor. If you tried to delete 'object' right now, with the way your destructor is written, you would get a run-time error.