摘要:
#include <iostream> using namespace std; #include <string> class Phone { public: Phone(string name) { m_PhoneName = name; cout << "Phone构造" << endl; } 阅读全文
摘要:
#include <iostream> using namespace std; #include <string> class Person { public: //传统方式初始化 //Person(int a, int b, int c){ //m_A = a; //m_B = b; //m_C 阅读全文