The Library Management System is a C++ console-based application developed using Object-Oriented Programming (OOP) concepts. It allows users to manage books, members, and borrowing records efficiently through a simple menu-driven interface.
- Add new books to the library.
- Add library members.
- Display all available books.
- Search books by title.
- Search books by author.
- Issue books to members.
- Return issued books.
- Track book availability status.
- C++
- Object-Oriented Programming (Classes and Objects)
- STL Vector Container
- Console-Based User Interface
LibraryManagementSystem/
│
├── library.cpp
└── README.md
Stores information about a book:
- Book ID
- Title
- Author
- Issue Status
Stores information about a library member:
- Member ID
- Member Name
Handles all library operations:
- Add Book
- Add Member
- Display Books
- Search by Title
- Search by Author
- Issue Book
- Return Book
Compile the program using g++:
g++ library.cpp -o libraryRun the executable:
./library===== LIBRARY MANAGEMENT SYSTEM =====
1. Add Book
2. Add Member
3. Display Books
4. Search by Title
5. Search by Author
6. Issue Book
7. Return Book
8. Exit
- Add a new book.
- Add a member.
- Search for a book by title or author.
- Issue the book.
- Return the book when finished.
- View updated availability status.
- Classes and Objects
- Encapsulation
- Data Abstraction
- Dynamic Data Storage using Vectors
The application provides a simple and efficient way to manage library records, enabling book addition, searching, issuing, and returning while maintaining accurate availability information.
- File Handling for Permanent Storage
- Member-wise Borrowing History
- Fine Calculation for Late Returns
- Admin Authentication
- Graphical User Interface (GUI)
- Database Integration (MySQL/SQLite)
Developed as a C++ Object-Oriented Programming project for academic purposes.