摘要: #include<bits/stdc++.h>using namespace std;class Dog{ private: int age; int weight; public: Dog(int a,int b):age(a),weight(b){};//带参数的构造函数; Dog(){};// 阅读全文
posted @ 2023-05-19 11:22 mo寒流xing 阅读(36) 评论(0) 推荐(0)