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.

27 lines
683 B

#ifndef MENU_H // 保护定义,防止.h文件被重复调用
#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