文件名称:5_8
介绍说明--下载内容来自于网络,使用问题请自行百度
[8] 一个名为CPersonInfo的类有以下保护属性:姓名、身份证号、性别和年龄,请用C++语言定义这个类,并为上述属性定义相应的方法。然后从CPersonInfo类中派生出类CEmployeeInfo (雇员),派生类CEmployeeInfo增加了两个新的数据成员,分别用于表示部门和工资。要求派生类CEmployeeInfo的构造函数显式调用基类CPersonInfo的构造函数,可根据需要为派生类增加新的成员函数。-a class called CPersonInfo protection attributes are the following: name, ID number, gender and age, please use the C++ language definition of this class, and define the appropriate method for the above property. Then derived from CPersonInfo class class CEmployeeInfo (employees), the derived class CEmployeeInfo added two new data members, and wages were used to represent the department. CEmployeeInfo derived class constructor requires an explicit call to the base class constructor CPersonInfo, you can add new derived class member functions as needed.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
5_8/5_8.cpp
5_8/5_8.dsp
5_8/5_8.dsw
5_8/5_8.ncb
5_8/5_8.opt
5_8/5_8.plg
5_8/Debug/5_8.exe
5_8/Debug/5_8.ilk
5_8/Debug/5_8.obj
5_8/Debug/5_8.pch
5_8/Debug/5_8.pdb
5_8/Debug/vc60.idb
5_8/Debug/vc60.pdb
5_8/Debug
5_8
5_8/5_8.dsp
5_8/5_8.dsw
5_8/5_8.ncb
5_8/5_8.opt
5_8/5_8.plg
5_8/Debug/5_8.exe
5_8/Debug/5_8.ilk
5_8/Debug/5_8.obj
5_8/Debug/5_8.pch
5_8/Debug/5_8.pdb
5_8/Debug/vc60.idb
5_8/Debug/vc60.pdb
5_8/Debug
5_8
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.