Library Management System Project Report
Library Management System Project Report
Overview:
This project is a console application written entirely in C++ language, utilizing a MySQL database for
managing a library's operations. The system provides functionalities for both admin and student
users, such as managing books, issuing and returning books, and viewing account details.
Features:
1. Admin can:
2. Students can:
- Issue books.
- Return books.
Development Environment:
- Programming Language: C++
- IDEs: Dev C++, Code::Blocks (16.x version recommended for database connectivity issues)
Setup Instructions:
- Dev C++
- Xampp
2. Configure MySQL:
- Execute the SQL commands to create the 'library' database and its tables ('users' and 'book').
Username: admin
Password: admin
The source code is implemented in C++ with classes and methods to manage user and book
1. User Class:
3. Main Function:
Code Analysis:
1. showtime() Function:
2. User Class:
- Provides methods for user registration, login, and viewing user details.
3. Book Class:
- Manages book operations such as adding, searching, issuing, and returning books.
4. Database Operations:
System Workflow:
1. Admin Workflow:
2. Student Workflow:
- Register as a new user.
Menu Options:
1. Login
2. Register
4. Search Book
5. Issue Book
6. Return Book
10. Logout
0. Exit