首页 课程资源 专业指导     /    使用承继的方法构造3个类,(即雇员类——虚基类,教师类和工人类——派生类),教师教师工资由基本工资+级别工资+工龄工资+课时工资构成;工人工资由基本工资+级别工资+工龄工资+奖励工资构成

使用承继的方法构造3个类,(即雇员类——虚基类,教师类和工人类——派生类),教师教师工资由基本工资+级别工资+工龄工资+课时工资构成;工人工资由基本工资+级别工资+工龄工资+奖励工资构成

上传者: tchqiq | 上传时间:2022/9/5 3:48:43 | 文件大小:638KB | 文件类型:rar
使用承继的方法构造3个类,(即雇员类——虚基类,教师类和工人类——派生类),教师教师工资由基本工资+级别工资+工龄工资+课时工资构成;工人工资由基本工资+级别工资+工龄工资+奖励工资构成
本次课程设计的题目是设计一个职工工资管理系统,编写的主要内容如下:(1) 建立职工信息数据,包括职工编号、姓名、性别、合计工资、出生时间、参加工作时间和年龄(计算得到)。
(2) 根据职工信息表,建立只含有姓名和年龄的职工信息简表。
(3) 使用承继的方法构造3个类,(即雇员类——虚基类,教师类和工人类——派生类),教师教师工资由基本工资+级别工资+工龄工资+课时工资构成;
工人工资由基本工资+级别工资+工龄工资+奖励工资构成(4) 编写同名display()成员函数,用来职工信息的内容。
(5) 按年龄输出此年龄段教师信息。
(6) 对“<<”和“>>”运算进行重载。
(7) 抽取并计算职工的平均年龄。
(8) 按姓名检索并输出检索信息(9) 编写文件操作函数,存储教师和工人信息(10) 编写链表类模板,分别建立教师和和工人链表

文件下载

资源详情

[{"title":"(43个子文件638KB)使用继承的方法构造3个类,(即雇员类——虚基类,教师类和工人类——派生类),教师教师工资由基本工资+级别工资+工龄工资+课时工资构成;工人工资由基本工资+级别工资+工龄工资+奖励工资构成","children":[{"title":"2","children":[{"title":"ttttttt.suo <span style='color:#111;'>50.50KB</span>","children":null,"spread":false},{"title":"ttttttt.ncb <span style='color:#111;'>1.34MB</span>","children":null,"spread":false},{"title":"ttttttt.sln <span style='color:#111;'>886B</span>","children":null,"spread":false},{"title":"ttttttt","children":[{"title":"main.cpp <span style='color:#111;'>2.37KB</span>","children":null,"spread":false},{"title":"ttttttt.vcproj.303-11.Administrator.user <span style='color:#111;'>1.38KB</span>","children":null,"spread":false},{"title":"Workermoney.cpp <span style='color:#111;'>773B</span>","children":null,"spread":false},{"title":"ttttttt.vcproj.306-38.Administrator.user <span style='color:#111;'>1.38KB</span>","children":null,"spread":false},{"title":"Teachermoney.cpp <span style='color:#111;'>811B</span>","children":null,"spread":false},{"title":"ttttttt.vcproj.303-17.Administrator.user <span style='color:#111;'>1.38KB</span>","children":null,"spread":false},{"title":"Salary.h <span style='color:#111;'>363B</span>","children":null,"spread":false},{"title":"employee.cpp <span style='color:#111;'>172B</span>","children":null,"spread":false},{"title":"school.h <span style='color:#111;'>552B</span>","children":null,"spread":false},{"title":"ttttttt.vcproj.hqiq-PC.hqiq.user <span style='color:#111;'>1.38KB</span>","children":null,"spread":false},{"title":"workernews.cpp <span style='color:#111;'>2.09KB</span>","children":null,"spread":false},{"title":"teachernews.h <span style='color:#111;'>567B</span>","children":null,"spread":false},{"title":"ttttttt.vcproj <span style='color:#111;'>4.80KB</span>","children":null,"spread":false},{"title":"workernews.h <span style='color:#111;'>547B</span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"teachernews.obj <span style='color:#111;'>59.65KB</span>","children":null,"spread":false},{"title":"ttttttt.exe.embed.manifest <span style='color:#111;'>403B</span>","children":null,"spread":false},{"title":"vc80.pdb <span style='color:#111;'>204.00KB</span>","children":null,"spread":false},{"title":"school.obj <span style='color:#111;'>75.30KB</span>","children":null,"spread":false},{"title":"workernews.obj <span style='color:#111;'>59.01KB</span>","children":null,"spread":false},{"title":"BuildLog.htm <span style='color:#111;'>8.85KB</span>","children":null,"spread":false},{"title":"Teachermoney.obj <span style='color:#111;'>46.65KB</span>","children":null,"spread":false},{"title":"mt.dep <span style='color:#111;'>67B</span>","children":null,"spread":false},{"title":"ttttttt.exe.embed.manifest.res <span style='color:#111;'>468B</span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'>82.91KB</span>","children":null,"spread":false},{"title":"Workermoney.obj <span style='color:#111;'>45.69KB</span>","children":null,"spread":false},{"title":"employee.obj <span style='color:#111;'>39.88KB</span>","children":null,"spread":false},{"title":"ttttttt.exe.intermediate.manifest <span style='color:#111;'>385B</span>","children":null,"spread":false},{"title":"vc80.idb <span style='color:#111;'>275.00KB</span>","children":null,"spread":false}],"spread":false},{"title":"Workermoney.h <span style='color:#111;'>577B</span>","children":null,"spread":false},{"title":"school.cpp <span style='color:#111;'>3.43KB</span>","children":null,"spread":false},{"title":"ttttttt.vcproj.303-41.Administrator.user <span style='color:#111;'>1.38KB</span>","children":null,"spread":false},{"title":"List.h <span style='color:#111;'>1.37KB</span>","children":null,"spread":false},{"title":"employee.h <span style='color:#111;'>381B</span>","children":null,"spread":false},{"title":"Salary.cpp <span style='color:#111;'>19B</span>","children":null,"spread":false},{"title":"Node.h <span style='color:#111;'>481B</span>","children":null,"spread":false},{"title":"Teachermoney.h <span style='color:#111;'>534B</span>","children":null,"spread":false},{"title":"teachernews.cpp <span style='color:#111;'>2.09KB</span>","children":null,"spread":false}],"spread":false},{"title":"debug","children":[{"title":"ttttttt.ilk <span style='color:#111;'>656.36KB</span>","children":null,"spread":false},{"title":"ttttttt.pdb <span style='color:#111;'>691.00KB</span>","children":null,"spread":false},{"title":"ttttttt.exe <span style='color:#111;'>80.00KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • i_popular:
    挺详细的,不错2014-02-24
  • 万载小笼包:
    挺详细的,不错2014-02-24
  • sun88129129:
    比我自己写的,好多了。可作为参考。2013-01-12
  • sun_想:
    比我自己写的,好多了。可作为参考。2013-01-12
  • zztx123:
    对对对,很详细2012-12-20
  • zztx123:
    对对对,很详细2012-12-20
  • kashaba:
    很好,每段程序代码都很清楚2012-11-29
  • kashaba:
    很好,每段程序代码都很清楚2012-11-29

免责申明

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