#include<stdio.h> #include<ctype.h> #include<stdlib.h> #include<process.h> #include<dos.h> #include<conio.h> #define MAX 8 #define Key_Alt_E 0x12 #define Key_Alt_F 0x21 #define Key_Alt_F2 0x69 #define Key_Alt_F3 0x6A #define Key_Alt_X 0x2D #define Key_Alt_S 0x1F #define Key_Alt_ #define Key_Alt_ #define Key_Alt_ #define Key_Alt_ #define Key_Alt_ #define Key_Esc 1 #define Key_Enter 28 #define Key_up 72 #define Key_down 80 #define Key_F1 59 #define Key_
struct chengji { char subject[15]; int mark; int grade1; int grade2; float grade; struct changji *next; }
struct chongxiu { char subject[15]; int mark; float grade; struct chongxiu *next; }
struct STUD { unsigned no; char name[16]; char sex; int age; char born_place[30]; unsigned class; int dormitery; float phone; float average; struct chongxiu *first; struct chengji *first; struct STUD *next; }
struct CLASS { unsigned no; unsigned student; float score[MAX]; struct STUD *first; struct CLASS *next; }
后来使用时 系统 "too many types in declaration" 难道说明里的类型数量有限制?