Files changed (1) hide show
  1. program.txt +49 -0
program.txt ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ # include "Hashtable.h"
3
+ # include "BST_Tree.h"
4
+ # include "admin.h"
5
+ # include "staff.h"
6
+ # include "customer.h"
7
+ # include "string.h"
8
+
9
+ void boot()
10
+ {
11
+ Hashtable H;
12
+ BST_Tree T;
13
+ H.starthash();
14
+ T.load_Server();
15
+ }
16
+ int main()
17
+ {
18
+ void boot();
19
+
20
+ int condition=0;
21
+ while (condition != 4)
22
+ {
23
+ cout << "YOU want to login as:\t\t\t\t\t\t" << endl << endl;
24
+ cout << "1-ADMIN" << endl;
25
+ cout << "2-STAFF" << endl;
26
+ cout << "3-CUSTOMER" << endl;
27
+ cin >> condition;
28
+ if (condition == 1)
29
+ {
30
+ admin();
31
+ }
32
+ if (condition == 2)
33
+ {
34
+
35
+ }
36
+ if (condition == 3)
37
+ {
38
+ customer();
39
+ }
40
+ if (condition == 4)
41
+ {
42
+ condition = 4;
43
+ }
44
+ }
45
+
46
+
47
+ system("pause");
48
+ return 0;
49
+ }