A modular command-line Library Management System built using modern C++ fundamentals.
This project demonstrates modular programming by organizing the application across multiple source and header files while implementing a simple library workflow using arrays, functions, and shared data.
- β Add New Book
- β View All Books
- β Search Book
- β Issue Book
- β Return Book
- β Delete Book
- β Duplicate Book ID Validation
- β Empty Title & Author Validation
- β Book Availability Tracking
- β Multi-file Project Architecture
library-management-system-cpp/
β
βββ include/
β βββ book.h
β βββ library.h
β βββ menu.h
β
βββ src/
β βββ book.cpp
β βββ library.cpp
β βββ menu.cpp
β βββ main.cpp
β
βββ README.md
βββ LICENSE
βββ .gitignore
- C++17
- g++
- Visual Studio Code
- Git
- GitHub
g++ src/*.cpp -Iinclude -Wall -Wextra -pedantic -std=c++17 -o app./appThis project focuses on:
- Modular Programming
- Multi-file Project Organization
- Arrays
- Functions
- Shared Data using
extern - Boolean State Management
- Helper Functions
- Business Rule Validation
- Command-Line Application Design
- Store books using file handling
- Replace arrays with classes
- Add borrower information
- Track issue & return dates
- Add fine calculation
- Improve input validation
Mehfooz
Learning C++ through project-based development.