#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