摘要: 语法:构造函数():属性1(值1),属性2(值2),…{} #include<iostream> using namespace std; class WLM { public: WLM(int a,int b,int c):m_a(a),m_b(b),m_c(c) { } int m_a; int 阅读全文
posted @ 2022-07-27 14:28 萌萌的保镖 阅读(25) 评论(0) 推荐(0)