Skip to content

weird1826/Library-Management-System-in-C-Language

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Library-Management-System-in-C-Language

Efficient C Language based Library Management System.
📚Streamline book tracker and borrower management.
Simple, sleek and all about organized shelves. 💫💫

Features:

>> Add a new book by specifying the following information:

  1. Book Name
  2. Author Name
  3. Primary Genre
  4. Secondary Genre (if any, optional)
  5. Sub Genre
  6. Price
  7. Number of books in stock.
  • This book information will get saved in a bookInfo.txt file.
  • Only use Add a new book feature when you (librarian) receive a brand new book which was never available previously in the library.

>> View complete book database

You can view the whole book database (unsorted and unfiltered) by just selecting the View All Books option

>> Book sorting and searching

You can search and filter books based on these parameters:

  1. Book Name
  2. Author Name
  3. Price
    (NOT PRICE RANGE! FILTER ONLY BY A SPECIFIC PRICE!)
  4. Primary Genre

>> Issue/Borrowing Management

You (librarian) can issue a book to an individual by specifying the following information:

  1. Book Name
  2. Borrower's Name
  3. Number of days the book is being borrowed
  4. Date of Issue
  • Only one book can be issued per entry.
  • The Date of Issue is fetched automatically by the program.
  • This borrower's information is stored in an issueHolderDBS.txt file.
  • When the book is issued, 1 is deducted from the amount of its stock in the bookInfo.txt file.

Additional Features in Borrow Management
Before issuing a book, the program will check whether the book actually exists or not. If it exists, it will then check whether the book is in sufficient stock. I've set a limit, that if a book's stock is <=20 then the program will not allow the librarian to issue the book.

>> View complete borrower's database

You can view the whole borrower's database by (unfiltered and unsorted) by just selecting the View Aquirer Database option

>> Returning of the borrowed book by a reader

When a borrower returns a book, the book can be added back to the shelf by specifying the following information:

  1. Borrower's Name
  2. Book Name
  • The program will check the issueHolderDBS.txt for such entry, and if it exists, it will proceed to delete that entry by file swapping and rewriting methods.
  • When the book is returned, 1 is added to its stock in the bookInfo.txt file.

>> Restocking a book

You can restock a book by specifying the following information:

  1. Book Name
  2. Restock Quantity
  • The program will first check whether a book with that specified name exists in the database or not.
  • If it exists, it will then proceed to restock it.
  • The restock amount will get added to the stock amount of that book in bookRecords.txt file.

Note that restocking a book is different from returing a borrowed book.

  • Use restock feature when the book is already existing in the database, and is not a completely new one for your library.

About

Efficient C Language based Library Management System. 📚Streamline book tracker and borrower management. Simple, sleek and all about organized shelves. 💫💫

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages