36_重载指针运算符* ->_重载 *指针 运算符-CSDN博客

网站介绍:#include <iostream>using namespace std;class Person{private: int num;public: Person(int num):num(num) { //this->num = num; cout<<"有参构造num = "<<num<<endl; } void showPerson(void) { ._重载 *指针 运算符