/*Parses initial input*/ void readInput(FILE *f){ int numCustomers; fscanf(f,"%d", &numCustomers); int numTransactions; fscanf(f,"%d", &numTransactions); int throwAway; fscanf(f, "%d", &throwAway); readTransactions(f, numCustomers, numTransactions); }
void Store::load() { readCustomers(); readProducts(); readTransactions(); }