This project is a console-based Library Management System written in C++. It allows users to manage a collection of books, track issued and received books, and maintain a register of transactions. The system is designed for educational purposes and demonstrates object-oriented programming concepts and basic data management.
- Add, remove, and search for books in the library
- Display all books and their details
- Issue books to users and record transactions
- Receive returned books and update records
- Maintain a register of all issued and received books
- Add new copies to existing books
- Input validation and user-friendly console interface
- C++ (Standard Library)
- Console I/O (
iostream,conio.h) - STL containers (
vector,string) - Algorithms (
algorithm)
To compile the project, use a C++ compiler such as g++ or MSVC. Example using g++:
g++ -o LibraryManagementSystem Library-management-system.cppOr using MSVC (Windows):
cl /EHsc Library-management-system.cppAfter compilation, run the executable from the command line:
./LibraryManagementSystemor (Windows):
LibraryManagementSystem.exeFollow the on-screen menu to add, remove, search, issue, and receive books. The system will prompt for necessary details and guide you through each operation.
Contributions are welcome! To contribute:
- Fork the repository
- Create a new branch (
git checkout -b feature-branch) - Commit your changes (
git commit -am 'Add new feature') - Push to the branch (
git push origin feature-branch) - Open a pull request
Please ensure your code is well-documented and follows best practices.