摘要:
#include <iostream> using namespace std; #include <string> class Phone { public: Phone(string name) { m_PhoneName = name; cout << "Phone构造" << endl; }
阅读全文
posted @ 2021-11-14 23:18
keep码
阅读(107)
推荐(0)
编辑
摘要:
#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
阅读全文
posted @ 2021-11-14 22:34
keep码
阅读(31)
推荐(0)
编辑