public:
string(const char *str = null); // 普通构造函数
string(const string &other); // 拷贝构造函数
~ string(void); // 析构函数
string & operator =(const string &other); // 赋值函数
private:
char *m_data; // 用于保存字符串
};
// string的析构函数
string::~string(void) // 3分