A simple C++ console application for managing users and books in a library.
Supports adding, searching, updating, deleting users and books, assigning authors, and rating books.
main.cpp— Main menu and program logicUser.h/User.cpp— User class and its implementationBook.h/Book.cpp— Book class and its implementationUserList.h/UserList.cpp— User list managementBookList.h/BookList.cpp— Book list management
Open a terminal in the project directory and run:
g++ main.cpp User.cpp Book.cpp UserList.cpp BookList.cpp -o library.exeAfter building, run:
./library.exeor on Windows:
library.exe- Add, search, update, and delete users
- Add, search, update, and delete books
- Assign authors to books
- Rate books and view highest-rated book
- Display all users and books
- C++ compiler (e.g., g++)
- Console/terminal access
- All data is stored in memory (no file/database persistence).
- The program uses simple console menus for interaction.