Skip to content

About

Menu-driven bookstore inventory manager in C with file persistence.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Bookstore Inventory Manager

C

This is a menu-driven inventory manager for a small bookstore, built on parallel arrays with file persistence. It was my first C project.

  • On startup it loads the inventory from books.txt: one book per line as name bin price, with underscores for spaces.
  • You can add a book (inserted in bin-number order, rejecting duplicate bins), remove it by bin number, search, and print the list.
  • On exit it writes the updated inventory back to books.txt.

Run

gcc main.c -o bookstore && ./bookstore

A sample books.txt is included.


Programming in C, Birzeit University.

About

Menu-driven bookstore inventory manager in C with file persistence.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages