-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h
16 lines (14 loc) · 884 Bytes
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once
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 groupoffDelay; // length of time between initializing gift cards
unsigned int parentalDelay; // length of time between cash deposits
unsigned int numCouriers; // number of couriers in the pool
}; // ConfigParms
void processConfigFile( const char * configFile, ConfigParms & cparms );