0% found this document useful (0 votes)
2 views

Library Management System

The document outlines a Library Management System developed in C++ that facilitates the management of books, members, and transactions through functionalities like adding, searching, issuing, and returning books. It follows object-oriented programming principles and features a console-based interface. Future improvements may include a graphical user interface and database integration.

Uploaded by

singletamizhan16
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Library Management System

The document outlines a Library Management System developed in C++ that facilitates the management of books, members, and transactions through functionalities like adding, searching, issuing, and returning books. It follows object-oriented programming principles and features a console-based interface. Future improvements may include a graphical user interface and database integration.

Uploaded by

singletamizhan16
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Library Management System

Using C++

Submitted By: [Your Name]

Class: 11

Subject: Computer Science


Abstract

This project is a Library Management System developed in C++ to manage books, members,

and transactions efficiently. The system includes functionalities such as adding new books,

searching, issuing, and returning books. The project follows object-oriented programming

principles and provides an easy-to-use console-based interface.


Introduction

Library management systems help organize books efficiently, making it easier for libraries to

maintain records. This project aims to provide a simple yet effective system that allows users

to add, search, issue, and return books using a structured C++ program.
System Design

The system consists of different modules including book management, member management,

and transaction management. Each module is implemented using classes in C++. Below is an

overview of the design.


Code Implementation

#include <iostream>
#include <vector>
#include <string>
using namespace std;

class Book {
public:
int id;
string title;
string author;
bool isIssued;

Book(int id, string title, string author) {


this->id = id;
this->title = title;
this->author = author;
this->isIssued = false;
}
};

class Library {
private:
vector<Book> books;

public:
void addBook(int id, string title, string author) {
books.push_back(Book(id, title, author));
cout << "Book added successfully!" << endl;
}

void displayBooks() {
cout << "ID\tTitle\tAuthor\tStatus" << endl;
for (const auto& book : books) {
cout << book.id << "\t" << book.title << "\t" << book.author
<< "\t" << (book.isIssued ? "Issued" : "Available") << endl;
}
}
};
Conclusion

This project successfully demonstrates a Library Management System using C++. The system

allows users to manage books effectively, making it easier to organize and retrieve information.

Future enhancements could include a graphical user interface and database integration.

You might also like