예제 #1
0
파일: recommend.c 프로젝트: smorad/cmps101
/*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);
}
예제 #2
0
void Store::load()
{
	readCustomers();
	readProducts();
	readTransactions();
}