A simple console-based C++ Library Management System that manages book records using file handling (fstream) for persistent storage.
The system supports the following functionalities via a main menu:
- ๐ Show All Books โ Lists all book records stored in the system
- ๐ Extract Book by ID โ Searches and displays details of a single book using its unique ID
- โ Add Book โ Adds a new book record with Book ID, Book Name, and Author Name
- ๐ช Exit โ Exits the application safely
- A C++ compiler (e.g.,
g++) - A terminal or command prompt
-
Save the code as
library_management.cpp -
Compile the program:
g++ library_management.cpp -o library_app