From f18c44909c604a01bb0265d006a84223ee88d603 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 1 Mar 2026 18:33:54 +0200 Subject: feat(Week02): Add solutions --- Week02/Exercise05/warehouse.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Week02/Exercise05/warehouse.h (limited to 'Week02/Exercise05/warehouse.h') diff --git a/Week02/Exercise05/warehouse.h b/Week02/Exercise05/warehouse.h new file mode 100644 index 0000000..34f19b4 --- /dev/null +++ b/Week02/Exercise05/warehouse.h @@ -0,0 +1,15 @@ +#ifndef _WAREHOUSE +#define _WAREHOUSE + +#include "package.h" + +struct Warehouse { + char ID; + Package* packages; + unsigned storedPackages; + unsigned packageCapacity; + + bool storePackage(const Package& p); +}; + +#endif -- cgit v1.3.1-26-gb76a