-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
29 lines (24 loc) · 688 Bytes
/
main.cpp
File metadata and controls
29 lines (24 loc) · 688 Bytes
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
#include"func.h"
Account* SignIn = NULL;
int quantity;
hcmus NamHoc;
int main(){
NamHoc.NumberOfSchoolYear = 0;
UploadAllInfor();
//system("pause");
//PrintListOfCourseInSemester(NamHoc.ptr[NamHoc.NumberOfSchoolYear - 1].semester[1]);
//MenuListOfClass(NamHoc.ptr[NamHoc.NumberOfSchoolYear - 1]);
//cout << endl <<"Hello";
//SetConsoleTitle("Phan Ba Duc - 22120071");
UploadAccount();
while (true){
system("cls");
int k = Login();
if (SignIn[k].IsStaff == 1) Main_Menu_For_Admin(k);
else Main_Menu_For_Student(k);
}
//MenuListOfClass(NamHoc.ptr[0]);
GoTo(0, 30);
system("pause");
return 0;
}