1
雇员 

所属分类:企业管理
开发工具:Visual C++
文件大小:1045KB
下载次数:4
上传日期:2012-05-18 17:34:09
上 传 者test120
说明:  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.)

文件列表:
1\date.cpp (3209, 2012-04-04)
1\date.h (1456, 2012-04-04)
1\employee.cpp (2051, 2012-04-04)
1\employee.h (2357, 2012-04-04)
1\main.cpp (1319, 2012-04-04)
1\test\Debug\date.obj (154918, 2012-04-04)
1\test\Debug\employee.obj (170093, 2012-04-04)
1\test\Debug\main.obj (284392, 2012-04-04)
1\test\Debug\test.exe (585793, 2012-04-04)
1\test\Debug\test.ilk (856460, 2012-04-04)
1\test\Debug\test.pch (2087900, 2012-04-04)
1\test\Debug\test.pdb (1385472, 2012-04-04)
1\test\Debug\vc60.idb (99328, 2012-04-04)
1\test\Debug\vc60.pdb (135168, 2012-04-04)
1\test\test.dsp (4891, 2012-04-04)
1\test\test.dsw (533, 2012-04-04)
1\test\test.ncb (66560, 2012-04-04)
1\test\test.opt (48640, 2012-04-04)
1\test\test.plg (1319, 2012-04-04)
1\test\Debug (0, 2012-04-04)
1\test (0, 2012-04-04)
1 (0, 2012-04-04)

近期下载者

相关文件


收藏者