摘要: #include #include using namespace std; class Person { public: //无参(默认)构造函数 Person() { cout << "no" << endl; } //有参构造函数 Person(int a) { age = a; cout << "... 阅读全文
posted @ 2019-06-27 17:12 wdliming 阅读(676) 评论(0) 推荐(0)