It must be run on a terminal. Do the following in the same directory.
-
Create a plain text file named "shoppingList.txt". It must contain only the names of the products. For example: [shoppingList.txt] eggs milk bread
-
Keep your database up to date. So far, the program does not manage your database. It must be done manually with a plain text file named "data.txt" The format is the following:
numberOfShops(in this case 3) carrefour aldi lidl numberOfProducts (in this case 4) eggs milk bread tissues
- Download the source code and execute "make" on your terminal