摘要: #include <iostream>using namespace std;class Person {public: int age; Person() { cout << "默认构造函数调用" << endl; } Person(int a) { age = a; cout << "有参构造函 阅读全文
posted @ 2023-04-24 20:42 刘梦磊 阅读(26) 评论(0) 推荐(0)