搜索资源列表
1
- 1.定义了雇员类,派生出了经理类(按月发放工资)和临时工类(按天发放工资),并用到了上次程序中的CMyDate类来记录当前日期(因每月天数与当前日期有关)。 2.主函数中定义了2个经理类对象和3个临时工对象,用指向基类的指针容器来存储雇员,程序运行时输出各雇员信息,再输入天数,程序会显示各雇员的工资发放情况,用于验证程序正确性。-Defines a class of employees, derived from the manager class (monthly payment of w
B04_2841_EX11
- Exercise 11: Files 1. Write a program that enters the name and the annual salary of 5 employees from the keyboard, calculates the monthly salary of each employee assuming that tax is deducted at a flat rate of 20 . The program prints the name, t