摘要: #include<iostream> 2 #include<string> 3 using namespace std; 4 class parent{ 5 protected: 6 int m_a; 7 int m_b; 8 public: 9 int m_c; 10 void set(int a 阅读全文
posted @ 2019-11-23 21:38 刘大侠GG_B 阅读(122) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> 2 #include<string> 3 using namespace std; 4 class parent{ 5 protected: 6 int m_a; 7 int m_b; 8 public: 9 int m_c; 10 void set(int a 阅读全文
posted @ 2019-11-23 20:28 刘大侠GG_B 阅读(449) 评论(0) 推荐(0) 编辑
摘要: 1 include<iostream> 2 #include<string> 3 using namespace std; 4 class parent{ 5 protected: 6 int mv; 7 public: 8 parent(){ 9 mv = 100; 10 } 11 int val 阅读全文
posted @ 2019-11-23 10:03 刘大侠GG_B 阅读(184) 评论(0) 推荐(0) 编辑