C++综合实验,继承和派生类的设计及应用

上传者: 41020634 | 上传时间: 2019-12-21 20:53:22 | 文件大小: 1.16MB | 文件类型: rar
实验内容为新建一个雇员类,它的数据成员有雇员代号,年龄,工资,性别,姓名,输入雇员资料方法,打印雇员资料方法。以此雇员类为基类,从中派生出教师类,其中要求在教师类中加入一个计算教师工资的方法,教师工资=基本工资(1000)+课时(月工作量)×30。以此雇员类为基类,从中派生出实验员类,其中要求在实验员类中加入一个计算实验员工资的方法,实验员工资=基本工资(800)+实验室补助(150)+值班时间(月工作量)×5。以此雇员类为基类,从中派生出行政人员类,其中要求在行政人员类中加入一个计算行政人员工资的方法,行政人员工资=基本工资(900)+行政补贴(200)。分别要求用多态方法实现输入输出教师、实验人员、行政人员信息和计算教师、实验人员、行政人员工资的方法。

文件下载

资源详情

[{"title":"( 32 个子文件 1.16MB ) C++综合实验,继承和派生类的设计及应用","children":[{"title":"Employee","children":[{"title":"Teacher.h <span style='color:#111;'> 289B </span>","children":null,"spread":false},{"title":"Assitant_Define.cpp <span style='color:#111;'> 989B </span>","children":null,"spread":false},{"title":"Employee.plg <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"Employee.ncb <span style='color:#111;'> 97.00KB </span>","children":null,"spread":false},{"title":"Officer.h <span style='color:#111;'> 268B </span>","children":null,"spread":false},{"title":"Teacher.cpp <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"Employee.h <span style='color:#111;'> 522B </span>","children":null,"spread":false},{"title":"Employee.dsp <span style='color:#111;'> 4.72KB </span>","children":null,"spread":false},{"title":"Employee.dsw <span style='color:#111;'> 522B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"Assitant.h <span style='color:#111;'> 290B </span>","children":null,"spread":false},{"title":"Employee_Define.cpp <span style='color:#111;'> 925B </span>","children":null,"spread":false},{"title":"Teacher_Define.cpp <span style='color:#111;'> 857B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"Employee_Define.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"Teacher_Define.obj <span style='color:#111;'> 251.81KB </span>","children":null,"spread":false},{"title":"Employee.bsc <span style='color:#111;'> 281.00KB </span>","children":null,"spread":false},{"title":"Officer_Define.obj <span style='color:#111;'> 252.05KB </span>","children":null,"spread":false},{"title":"Employee_Define.obj <span style='color:#111;'> 29.84KB </span>","children":null,"spread":false},{"title":"Employee.ilk <span style='color:#111;'> 911.46KB </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 169.00KB </span>","children":null,"spread":false},{"title":"Employee.exe <span style='color:#111;'> 608.06KB </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 203.10KB </span>","children":null,"spread":false},{"title":"Officer_Define.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"Employee.pch <span style='color:#111;'> 1.96MB </span>","children":null,"spread":false},{"title":"vc60.pdb <span style='color:#111;'> 116.00KB </span>","children":null,"spread":false},{"title":"Teacher_Define.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"Assitant_Define.obj <span style='color:#111;'> 252.48KB </span>","children":null,"spread":false},{"title":"Employee.pdb <span style='color:#111;'> 1.32MB </span>","children":null,"spread":false},{"title":"Assitant_Define.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"main.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"Officer_Define.cpp <span style='color:#111;'> 865B </span>","children":null,"spread":false},{"title":"Employee.opt <span style='color:#111;'> 49.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明