From 5624cd9b63bec13fc464a3d7820d703abd8de113 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 8 Mar 2026 19:54:32 +0200 Subject: feat(Week03): Add solution to first exercise --- Week03/Exercise01/Shop.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Week03/Exercise01/Shop.h (limited to 'Week03/Exercise01/Shop.h') diff --git a/Week03/Exercise01/Shop.h b/Week03/Exercise01/Shop.h new file mode 100644 index 0000000..af008bb --- /dev/null +++ b/Week03/Exercise01/Shop.h @@ -0,0 +1,18 @@ +#ifndef _SHOP +#define _SHOP + +#include "User.h" +#include "Product.h" + +struct Shop { + UserArray users; + ProductArray products; + User* loggedInUser; + + void runCommand(char command); +}; + +Shop newShop(); +void deleteShop(Shop& shop); + +#endif -- cgit v1.3.1-26-gb76a