Skip to content

Vivekbhand09/Library-Management-System-in-C-using-MySQL-OOP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š Library Management System (C++ + MySQL)

A simple yet functional Library Management System built using C++, MySQL, and OOPs concepts. This console-based application allows admins to manage books and students, while users (students) can borrow books if available.


πŸ”§ Features

  • πŸ“– Admin Panel

    • Add new books with quantity
    • Register student IDs
  • πŸ‘¨β€πŸŽ“ Student Panel

    • Borrow books by entering their Student ID
    • View available books
  • πŸ—‚ Database Integration

    • All data stored and retrieved from MySQL database
  • 🎯 Clean OOP structure

    • Use of C++ classes, encapsulation, and modular structure

βš™οΈ Tech Stack

  • Language: C++
  • Database: MySQL
  • Libraries Used: MySQL Connector/C++
  • Platform: Windows (uses <windows.h> and Sleep())

πŸš€ Getting Started

πŸ“Œ Prerequisites

  • MySQL Server & Workbench installed and running
  • MySQL Connector/C installed
  • A database named cpp with the following tables:
CREATE DATABASE cpp;
USE cpp;

CREATE TABLE lib (
    Name VARCHAR(100),
    Quantity INT
);

CREATE TABLE student (
    Id VARCHAR(20)
);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages