文件名称:1
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1.02mb
- 下载次数:
- 0次
- 提 供 者:
- 张**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1.定义了雇员类,派生出了经理类(按月发放工资)和临时工类(按天发放工资),并用到了上次程序中的CMyDate类来记录当前日期(因每月天数与当前日期有关)。
2.主函数中定义了2个经理类对象和3个临时工对象,用指向基类的指针容器来存储雇员,程序运行时输出各雇员信息,再输入天数,程序会显示各雇员的工资发放情况,用于验证程序正确性。-Defines a class of employees, derived from the manager class (monthly payment of wages), and temporary workers (according to the payment of wages), and used the program last CMyDate class to record the current date (due to the number of days per month with the current date related). Main function defines two manager class object, and three temporary workers object, point to the base class pointer containers to store employees, the program runs, the output of each employee information, and then enter the number of days the program will display the payment of wages of each employee used to verify the correctness of the program.
2.主函数中定义了2个经理类对象和3个临时工对象,用指向基类的指针容器来存储雇员,程序运行时输出各雇员信息,再输入天数,程序会显示各雇员的工资发放情况,用于验证程序正确性。-Defines a class of employees, derived from the manager class (monthly payment of wages), and temporary workers (according to the payment of wages), and used the program last CMyDate class to record the current date (due to the number of days per month with the current date related). Main function defines two manager class object, and three temporary workers object, point to the base class pointer containers to store employees, the program runs, the output of each employee information, and then enter the number of days the program will display the payment of wages of each employee used to verify the correctness of the program.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1\date.cpp
.\date.h
.\employee.cpp
.\employee.h
.\main.cpp
.\test\Debug\date.obj
.\....\.....\employee.obj
.\....\.....\main.obj
.\....\.....\test.exe
.\....\.....\test.ilk
.\....\.....\test.pch
.\....\.....\test.pdb
.\....\.....\vc60.idb
.\....\.....\vc60.pdb
.\....\test.dsp
.\....\test.dsw
.\....\test.ncb
.\....\test.opt
.\....\test.plg
.\....\Debug
.\test
1
.\date.h
.\employee.cpp
.\employee.h
.\main.cpp
.\test\Debug\date.obj
.\....\.....\employee.obj
.\....\.....\main.obj
.\....\.....\test.exe
.\....\.....\test.ilk
.\....\.....\test.pch
.\....\.....\test.pdb
.\....\.....\vc60.idb
.\....\.....\vc60.pdb
.\....\test.dsp
.\....\test.dsw
.\....\test.ncb
.\....\test.opt
.\....\test.plg
.\....\Debug
.\test
1