C language book information management system

C language book information management system

Topic: Book Information Management System
Main content:
The entire book management system uses the structure as the basic data structure, and the final data must be saved in the data file.
The main function jumps to each module according to the user's needs through the switch statement, so as to realize the user's needs.
The system requires the functions of browsing, adding, querying, modifying, deleting and sorting book information.
Basic requirements:
1. Browsing of book information: You can open the data file and view the book barcode, title, author name, publisher, publication time, pricing, number of collections, etc. of each book.
2. Addition of book information: can input book barcode, book title, author name, publisher, publication time, pricing, number of collections, etc. through the keyboard, and add the data to the data file.
3. Query of book information:
(1) Query according to the barcode of the book
(2) Query according to the book title
(3) Query according to the author's name
(4) Query according to the publisher, each query will list all the records found. And at the bottom, the summary information needs to be displayed, that is, how many records meet the conditions in total.
4. Modification of book information: You can search the book information according to the book barcode or title, enter whether to modify it, if you confirm the modification, enter the new information, and after confirming again, the modified information will be stored in the file.
5. Deletion of book information:
(1) The records of the specified books can be deleted according to the bar code of the books
(2) The records of the specified books can be deleted according to the book titles, and the final data can be stored in the file.
6. Sorting of book information:
(1) Sort by barcode
(2) Sort by number of collections
(3) Sort by publication time, all sorted book information will be displayed on the screen.
7. Book Statistics:
(1) Count information about books whose number of collections is less than a certain value
(2) Count information about books whose publication date is earlier than a certain value.
8. Exit the management system.
Each part has sub-items and needs to be realized by menu selection, which can expand the function, but cannot reduce the function.

Source code download

Link: https://pan.baidu.com/s/1JJs9vbZahUCB6cQvXLgAVg?pwd=1111Extraction
code: 1111

Related Posts