-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathList.h
67 lines (55 loc) · 1.76 KB
/
List.h
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
struct Student
{
char ID_Num[25];
char Name[25];
int Age;
char SurName[25];
char University[25];
};
struct University
{
char Name[25];
char City[25];
char Country[25];
char Students[25];
};
// For Students
void Show_Data(int n, Student *s);
void Add_Data(int n, Student *s);
void Del_by_ID(int n, Student *s);
void Del_by_Name(int n, Student *s);
void Del_by_Age(int n, Student *s);
void Del_by_SurName(int n, Student *s);
void Del_by_University(int n, Student *s);
void Search_by_ID(int n, Student *s);
void Search_by_Name(int n, Student *s);
void Search_by_Age(int n, Student *s);
void Search_by_SurName(int n, Student *s);
void Search_by_University(int n, Student *s);
void Sort_by_ID(int n, Student *s);
void Sort_by_Name(int n, Student *s);
void Sort_by_Age(int n, Student *s);
void Sort_by_SurName(int n, Student *s);
void Sort_by_University(int n, Student *s);
// For University
void Show_Info(int n, University *u);
void Add_Info(int n, University *u);
void Del_by_Name1(int n, University *u);
void Del_by_City(int n, University *u);
void Del_by_Country(int n, University *u);
void Del_by_Students(int n, University *u);
void Search_by_Name1(int n, University *u);
void Search_by_City(int n, University *u);
void Search_by_Country(int n, University *u);
void Search_by_Students(int n, University *u);
void Sort_by_Name1(int n, University *u);
void Sort_by_City(int n, University *u);
void Sort_by_Country(int n, University *u);
void Sort_by_Students(int n, University *u);
void sizeS(int *size);
void sizeU(int *size);
void printS(int n, Student *s);
void printU(int n, University *u);
void Registration(int n, Student *s);
// --------- Statistics ---------
void Statistic_Uni_st(int n, Student *s);