摘要:
1 #define _CRT_SECURE_NO_WARNINGS 2 #include 3 using namespace std; 4 5 class Test 6 { 7 public: 8 Test() 9 {10 a = 10;11 p... 阅读全文
摘要:
1 #include 2 using namespace std; 3 4 class Test2 5 { 6 public: 7 Test2() 8 { 9 10 cout << "无参构造函数" << endl; 11 } 12 Test2(int a) 13 { 14 m_a = a; 15 ... 阅读全文