Home > Back-end >  The small company salary management system based on C
The small company salary management system based on C

Time:03-30

Title description:
Companies need to store employee number, name, gender, department, level, salary calculation, and the employees are divided into managers, technical personnel, monthly salary calculation method is as follows: the manager with a fixed monthly salary; Technical personnel receive monthly pay by the hour,
Functional requirements:
(1) design a program to manage the company staff, is applied to the inheritance, abstract class, virtual function, virtual base classes, polymorphism, and file input/output content, such as
(2) add function: according to user's choice of category, add managers or technicians, requires only the serial number of employees, if you add the repeat number record, add repeat indicates that data, and cancel to add,
(3) the query function: according to the number, name and other information to update a record has been added to the query, if not found, given the corresponding prompt information, if found, displays the corresponding record information; It can display all the records in the current system, each record occupies a line,
(4) editing features: can be according to the records of the results of the query to the appropriate modified, modified the uniqueness of note number,
(5) the delete function: the main implementation of added personnel records to delete, if there is no corresponding personnel records in the current system, the prompt "record is empty!" And return operation; Otherwise, enter the serial number of personnel to delete or name, according to the information input by deleting the personnel records, if could not find the staff information, indicates that the corresponding records don't save,
(6) statistical function: can according to various parameters of personnel, for example, the statistics personnel number and the total number, or statistics, the number of female employees, or statistical average wages, the highest wages, the information such as the minimum wage,
(7) save function: can record all kinds of personnel in the current system in the file, deposited in the arbitrary way; Can be saved in the file personnel information into the current system, for users to use,
  • Related