Skip to content

premnandakishore/Simple-Library-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“š Library Management System (C++)

๐Ÿ“Œ Project Overview

This is a console-based Library Management System implemented in C++.
The system uses a Singly Linked List to dynamically manage book records and supports full CRUD operations.

This project demonstrates core Data Structures and Object-Oriented Programming concepts.


๐Ÿš€ Features

  • โž• Add New Book
  • ๐Ÿ” Search Book by ID
  • ๐Ÿ“– Issue Book to Student
  • ๐Ÿ”„ Return Book
  • ๐Ÿ“‹ List All Books
  • โŒ Delete Book
  • ๐Ÿ”ข Total Book Counter
  • ๐Ÿšซ Duplicate ID Protection
  • ๐Ÿงน Automatic Memory Cleanup (Destructor)

๐Ÿง  Data Structures & Concepts Used

  • Singly Linked List
  • Dynamic Memory Allocation (new / delete)
  • Pointers
  • Structs & Classes
  • Constructors & Destructors
  • Object-Oriented Programming (OOP)
  • Menu-Driven Program Design

โฑ Time Complexity

Since the system uses a singly linked list, operations require linear traversal:

  • Add Book โ†’ O(n)
  • Search Book โ†’ O(n)
  • Delete Book โ†’ O(n)
  • Issue / Return โ†’ O(n)
  • List Books โ†’ O(n)

๐Ÿ›  Technologies Used

  • C++
  • GCC (MinGW-w64)
  • VS Code
  • Windows PowerShell

โ–ถ๏ธ How to Run

  1. Compile the program:
g++ main.cpp -o library
  1. Run the executable:
.\library

๐Ÿ–ฅ Sample Menu

====== Library Management System ======
1. Add New Book
2. Search for a Book
3. Issue a Book
4. Return a Book
5. List All Books
6. Delete a Book
7. Exit

๐Ÿ“ˆ Learning Outcomes

This project strengthened my understanding of:

  • Linked List implementation
  • Memory management in C++
  • Pointer manipulation
  • Object-Oriented system design
  • Command-line application structure

๐Ÿ”ฎ Future Improvements

  • File handling for persistent storage
  • Sorting functionality
  • Fine calculation system
  • GUI-based version
  • Database integration

โญ Built to strengthen core Data Structures fundamentals.

About

Console-based Library Management System built in C++ implementing core Data Structures and file handling for efficient record management.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages