C++特征之多态-CSDN博客

网站介绍:按值传递对象#include using namespace std;class person{public: int sex; virtual int love(){cout<<"person"<<<"person construct"<<