1 #include <cstdlib> 2 #include <cstring> 3 4 class Mystring 5 { 6 public: 7 Mystring(const char * pdata) 8 { 9 if(pdata==NULL) 10 { 11 data = new char[1]; 12 *data = '
1 #include <cstdlib> 2 #include <cstring> 3 4 class Mystring 5 { 6 public: 7 Mystring(const char * pdata) 8 { 9 if(pdata==NULL) 10 { 11 data = new char[1]; 12 *data = '