You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#ifndef MENU_H // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>壬<EFBFBD><E5A3AC>ֹ.h<>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD>ظ<EFBFBD><D8B8><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
#define MENU_H
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define MAX_STUDENTS 100
|
|
|
|
|
#define MAX_STRING 20
|
|
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
|
char id[MAX_STRING];
|
|
|
|
|
char clas[MAX_STRING];
|
|
|
|
|
char name[MAX_STRING];
|
|
|
|
|
double score1;
|
|
|
|
|
double score2;
|
|
|
|
|
double score3;
|
|
|
|
|
double score;
|
|
|
|
|
} Student;
|
|
|
|
|
|
|
|
|
|
void displayMenu();
|
|
|
|
|
void inputStudentInfo(Student students[], int* count);
|
|
|
|
|
void displayStudentInfo(Student students[], int count);
|
|
|
|
|
void insertStudentInfo(Student students[], int* count);
|
|
|
|
|
void deleteStudentInfo(Student students[], int* count);
|
|
|
|
|
void modifyStudentInfo(Student students[], int count);
|
|
|
|
|
void queryStudentInfo(Student students[], int count);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|