摘要:
#includeusing namespace std;class String{public: String(int n); String(const String &string);private: int n;};String::String(int m){ n = m; cout << "constructor" << endl;}String::String(const String &string){ n = string.n; cout << "copy constructor" < 阅读全文