文件名称:lab7_5
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.12kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
people(人员)类派生出student(学生)类,添加属性:班号char classNo[7];从people类派生出teacher(教师)类,添加属性:职务char principalship[11]、部门char department[21]。从student类中派生出graduate(研究生)类,添加属性:专业char subject[21]、导师teacher adviser;从graduate类和teacher类派生出 TA(助教生)类,注意虚基类的使用-people (staff) derived class student (student) category, add the attribute: Class No. char classNo [7] people class derived from the teacher (teacher) class, add the attribute: Title char principalship [11], department char department [21 ]. Derived from the student class graduate (graduate) class, add the attribute: Professional char subject [21], mentor teacher adviser graduate class and the teacher from the derived class TA (teaching assistant students) class, pay attention to the use of virtual base class
(系统自动生成,下载前可以参看下载内容)
下载文件列表
lab7_5.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.