parent
0db1fd92c9
commit
f063e83d93
@ -1,27 +0,0 @@
|
|||||||
#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
|
|
Loading…
Reference in new issue