Website Summary Files Commits Branches @commit @diff @stats
path: root / Week02 / Exercise05 / warehouse.h
blob: 34f19b48fc327aee9f063a0905298a3081632d3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _WAREHOUSE
#define _WAREHOUSE

#include "package.h"

struct Warehouse {
	char ID;
	Package* packages;
	unsigned storedPackages;
	unsigned packageCapacity;

	bool storePackage(const Package& p);
};

#endif