文件名称:danjichen
介绍说明--下载内容均来自于网络,请自行研究使用
设计一个单基继承的类层次程序,利用Person类派生出Student类,增加属性xh(学号),Person类中至少有姓名、年龄等数据成员,成员函数中构造函数对其初始化,析构函数释放相应存储单元,输出函数输出其数据成员的值,其它成员函数根据需要添加,在主函数中进行测试-Design of a single base class inheritance hierarchy procedure, use the Person class derived Student class, increase the property xh (Student ID), Person class has at least the name, age and other data members, member functions the constructor initializes it, destructors release the corresponding memory cell, the output function output value of its data members, other member functions added as needed, for testing in the main function
(系统自动生成,下载前可以参看下载内容)
下载文件列表
danjichen.docx