luzr wrote on Wed, 04 January 2006 15:52 |
Also, apply your changes to _recent_ snapshot (or even better, learn to sync uvs2 to be in sync with very latest development). |
class SimpleString { char *text; public: SimpleString(const char *txt) { text = new char[strlen(txt)]; strcpy(text, txt); } SimpleString(const SimpleString& s) { text = new char[strlen(s.text)]; strcpy(text, s.text); } void operator=(const SimpleString& s) { delete[] text; text = new char[strlen(s.text)]; strcpy(text, s.text); } SimpleString() { delete[] text; } };