C 语 言 编 写 的 班 级 信 息 管 理 系 统 有 班 级 信 息 录 入 , 班 级 信 息 查 询 , 班 级 信 息 修 改 , 班 级 信息 全 部 显 示
录 入 的 信 息 有 :班 级 级 别 专业 班 主任 总人数 男生人数 女生人数
代码: #include #include #include #include #define NULL 0 #define LEN sizeof(struct student) #define FILE_DATA_PATH "c:\student
txt" struct student { long int num; char name[20]; int age; char sex[4]; char birthday[10]; char address[30]; long int tele_num; char E_mail[20]; struct student *next; }; int TOTAL_NUM = 0; struct student *head = NULL; void welcome(); void mainmenu(); void record(); void insert(struct student *stu); void display(struct student *stu); void displayAll(); void query(); void query_by_num(); void query_by_name(); void readData(); void writeData(); void freeAll(); void del(); void change(); void devise(struct student *p); int main() { char us