Introduction - If you have any usage issues, please Google them yourself
Write a small company payroll management system. The company has four main categories of staff: manager, part-time technicians, salespeople and sales managers. Storage and display requirements for each type of number (from 100 onwards number), name and salary, and gives staff when creating each type of object constructor execution order (monthly salary is calculated as: manager fixed monthly salary of 8,000 yuan, a part-time technical staff 100 yuan/hour, the salesman of the month at 4 of sales, sales manager Paul at the end of wages 5,000 yuan plus 5 of sales in the possession department), asked to use virtual functions.