An OS course project to filtering stores data and print the max or min value of them.
In project directory just run make
command to make project by g++.
them run executable file in this form :
./StoreCalculator.out <commands file path> <assets path>
like this :
/StoreCalculator.out commands.txt assets
MAX <product_id> <starting_date> <ending_date>
or
MIN <product_id> <starting_date> <ending_date>
in csv file for each Store : [csv files must have header.]
<date>,<product_id>,<price>
for example :
MAX 4 2018/01/01 2019/01/01
date format is : YYYY/MM/DD
Created by Amin Fazeli on 23 Nov 2020.
OS Course - Fall 1399 - University of Tehran