class Student { string name; public: Student(string n = "1234") { cout << "Construing student " + n + "\n"; name = n; } }; int _tmain(int argc, _TCHAR* argv[]) { Student haha ("haha"); return 0; }
65,185
社区成员
250,526
社区内容
加载中
试试用AI创作助手写篇文章吧