Website Summary Files Commits Branches @commit @diff @stats
path: root / Week03 / Exercise01 / Shop.h
blob: af008bb8f41344c18141e8ae2b76858da2e11f17 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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