well, there are quite a number of things wrong, but thats cool. first, in your constructor you have to initialize the data member to a default values, otherwise you'll get large errors when you try to operate on it. second, in your class function definitions, you have to include the return type. so if you have :
class SomeClass {public: void Myfunc();};// ---- in the .cpp file you'd writevoid SomeClass::Myfunc(){/* does something cool}
also, the data type of the class data member should probably be std::string. and in your function backwards, reverse in an undefined function, as are begin() and end(). furthermore, the '=' operator is undefined for your specific class.
good luck.