C++ Course Design - Health Club Management

1. Problem description

"Fitness Club Member Management" mainly manages the staff and member information of the fitness club. Divide club personnel into employees and members. Employees are divided into managers, training managers, sales managers, fitness coaches, and sales staff. Members are divided into basic members and VIP members. It is required to have the functions of adding, deleting, modifying, querying, browsing, and saving the above-mentioned personnel information, which can well achieve the management purpose of the fitness club.

2. Functional requirements

( 1 ) Add function : the program can add club member records and provide a selection interface for users to choose the category to be added. When adding a record, the ID number is required to be unique. If a person record with a repeated number is added, it will prompt the data to add a duplicate and cancel the addition.

(2) Query function : The added personnel records can be queried according to the number, name and other information , if not found, the corresponding prompt information will be given, and if found, the corresponding record information will be displayed.

(3) Display function: It can display the records of all personnel in the current system according to classification, and each record occupies one line.

(4) Editing function : The corresponding record can be modified according to the query result , and the uniqueness of the serial number should be paid attention to when modifying.

(5) Delete function: mainly to delete the added personnel records. If there is no corresponding record in the current system, it prompts "The record is empty!" and returns to the operation.

(6) Statistical function : It can count the information of a certain type of personnel separately, and can also count the information of the number of all personnel.

(7) Save function : all kinds of records in the current system can be stored in files, and the storage method can be arbitrary.

(8) Read function: The information saved in the file can be read into the current system for users to use.

List of core knowledge points, confirmed by students

array

linked list

pointer

file read and write

default parameters

function template

multiple files

kind

derivation

virtual function

friend function

overload

multiple inheritance

source code implementation

C++ Course Design - Health Club Management

The source code can private message me in the background

Source code download resource address

https://download.csdn.net/download/timberman666/87367225?spm=1001.2014.3001.5501

Guess you like

Origin blog.csdn.net/timberman666/article/details/128508093#comments_27022616