Website Summary Files Commits Branches @commit @diff @stats
path: root / Week03 / Exercise01 / Shop.h
diff options
context:
space:
mode:
1 files changed, 18 insertions, 0 deletions
-rw-r--r--Week03/Exercise01/Shop.h18
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