-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.h
18 lines (15 loc) · 874 Bytes
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef CONFIG_H
#define CONFIG_H
struct ConfigParms {
unsigned int sodaCost; // MSRP per bottle
unsigned int numStudents; // number of students to create
unsigned int maxPurchases; // maximum number of bottles a student purchases
unsigned int numVendingMachines; // number of vending machines
unsigned int maxStockPerFlavour; // maximum number of bottles of each flavour stocked
unsigned int maxShippedPerFlavour; // number of bottles of each flavour in a shipment
unsigned int timeBetweenShipments; // length of time between shipment pickup
unsigned int parentalDelay; // length of time between cash deposits
unsigned int numCouriers; // number of couriers in the pool
};
void processConfigFile(const char *configFile, ConfigParms &cparms);
#endif