File size: 659 Bytes
c9b4e95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

# include "Hashtable.h"
# include "BST_Tree.h"
# include "admin.h"
# include "staff.h"
# include "customer.h"
# include "string.h"

void boot()
{
	Hashtable H;
	BST_Tree T;
	H.starthash();
	T.load_Server();
}
int main()
{
	void boot();

	int condition=0;
	while (condition != 4)
	{
		cout << "YOU want to login as:\t\t\t\t\t\t" << endl << endl;
		cout << "1-ADMIN" << endl;
		cout << "2-STAFF" << endl;
		cout << "3-CUSTOMER" << endl;
		cin >> condition;
		if (condition == 1)
		{
			admin();
		}
		if (condition == 2)
		{

		}
		if (condition == 3)
		{
			customer();
		}
		if (condition == 4)
		{
			condition = 4;
		}
	}

	
	system("pause");
	return 0;
}