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 asname 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.
gcc main.c -o bookstore && ./bookstoreA sample books.txt is included.
Programming in C, Birzeit University.