1. The design classes:
(1) : describe the contact name, gender, phone number, QQ,
The basic information such as address;
2) group class: by contact derived from human, describe the grouping information, group name
Options are: the classmates, colleagues, friends, family, etc.,
Loading: (1) data from the data file read in an array or a structure array,
(2) add: add a new contact record, including basic information and grouping, when inputting the duplicate name and telephone number, indicates that repeated data entry and cancel the operation of the input,
(3) shows: on the screen to display all the name of the contact person, gender, phone number, QQ, addresses, group name,
(4) delete: delete the given conditions of one or more records (recommended by name delete
In addition to),
(5) query: according to the contact name or phone number, according to the basic information and query the contact
(6) modification: modify the appointed person in addition to the name of the other information,
(7) sorting: the contact according to the group name or the name to sort and display,
(8) statistics: according to gender or group name contact number,
Or structure (9) storage array in the array data stored in the data file, (10) exit: exit the application and return to the prompt,
mouth
CodePudding user response:
Wow, where there is a problem? Post code outCodePudding user response:
The