摘要: 这是第七天的学习。 1 #include <iostream> 2 3 using namespace std; 4 class Base 5 { 6 public: 7 int memb = 9; 8 public: 9 //Base() { cout << "Base" << endl; } 1 阅读全文
posted @ 2022-05-11 21:45 Z_He 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 这是第六天的学习 1 #include <iostream> 2 3 using namespace std; 4 5 class A 6 { 7 private: 8 int num = 10; 9 public: 10 A() { cout << " This is A constructor. 阅读全文
posted @ 2022-05-11 21:41 Z_He 阅读(17) 评论(0) 推荐(0) 编辑