Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library Management System (LMS)

A C++ project demonstrating core Object-Oriented Programming (OOP) principles—abstraction, inheritance, polymorphism, and encapsulation—to manage library operations effectively.

📁 Project Structure

  • src/: Contains the main application logic.
    • main.cpp: Entry point of the application.
    • class.hpp: Defines all classes and their attributes.
  • dataset/: Holds real data files used by the system.
  • docs/: Includes documentation. Start with Library-guide for usage instructions.
  • update_days/: Manages borrowing durations.
    • updat.py: Updates the number of days books have been borrowed.
    • last_run_date.txt: Records the last date the update script was executed.

🚀 Getting Started

  1. Clone the repository:
    git clone https://github.com/APOLCLP/Library-Management-System.git
    
  2. Navigate to the project directory:
     cd Library-Management-System
  3. Compile the application:
     g++ src/main.cpp -o lms
  4. Run the application:
     ./lms
  5. Update borrowing durations:
    python3 update_days/updat.py

📚 Usage

  • Before using the system, read the Library-guide in the docs/ directory for detailed instructions.
  • Ensure the dataset/ directory contains the necessary data files.
  • Run updat.py periodically to keep borrowing durations up to date.

🛠️ Features

  • User-friendly command-line interface for managing library operations.
  • Efficient tracking of borrowed books and their durations.​
  • Modular codebase demonstrating best practices in OOP.

About

Library Management System (LMS) using Object-Oriented Programming (OOP) concepts in C++. This system demonstrates key OOP principles such as abstraction, inheritance, polymorphism, and encapsulation to manage the operations of a library effectively.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages