文件名称:shiyansi
介绍说明--下载内容均来自于网络,请自行研究使用
设计一个虚基类Person,包含姓名和年龄私有数据成员以及相关的成员函数;由它派生出领导类Leader,包含职务和部门私有数据成员以及相关的成员函数;再由Person派生出工程师类Engineer,包含职务和专业私有数据成员以及相关的成员函数;再由Leader和Engineer类派生出主任工程师类Chairman。并采用相关数据进行测试。-The design of a virtual base class Person, contain the name and age of a private data member and associated member function of class Leader leadership which it derived positions and departments, including the private data members and the relevant member function then by the Person derived class Engineer contains a service engineer, and professional and private data member and associated member function then by the Leader and Engineer classes derived the chief engineer Chairman. And tested using the relevant data.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
实验4答案\20140426.txt
.........\main.cpp
实验4答案