文件名称:1
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小: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
1/date.h
1/employee.cpp
1/employee.h
1/main.cpp
1/test/Debug/date.obj
1/test/Debug/employee.obj
1/test/Debug/main.obj
1/test/Debug/test.exe
1/test/Debug/test.ilk
1/test/Debug/test.pch
1/test/Debug/test.pdb
1/test/Debug/vc60.idb
1/test/Debug/vc60.pdb
1/test/test.dsp
1/test/test.dsw
1/test/test.ncb
1/test/test.opt
1/test/test.plg
1/test/Debug
1/test
1
1/date.h
1/employee.cpp
1/employee.h
1/main.cpp
1/test/Debug/date.obj
1/test/Debug/employee.obj
1/test/Debug/main.obj
1/test/Debug/test.exe
1/test/Debug/test.ilk
1/test/Debug/test.pch
1/test/Debug/test.pdb
1/test/Debug/vc60.idb
1/test/Debug/vc60.pdb
1/test/test.dsp
1/test/test.dsw
1/test/test.ncb
1/test/test.opt
1/test/test.plg
1/test/Debug
1/test
1
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
