This repository contains a project for a CLI based Supermarket billing system, written in C++. It utilizes a SQLite database to keep track of previous transactions and the inventory items.
These instructions will get you a copy of the project up and running on your local machine for development.
C++11
(or above) compilerSQLite
librarymake
utility
To install SQLite
, use apt-get
on Linux, brew
on macOS.
Once you have installed all the requirements, run the following:
$ sqlite3 supermarket.db < items.sql
$ sqlite3 supermarket.db < orders.sql
$ make
$ ./billing
Welcome to our supermarket!