如果您无法下载资料,请参考说明:
1、部分资料下载需要金币,请确保您的账户上有足够的金币
2、已购买过的文档,再次下载不重复扣费
3、资料包下载后请先用软件解压,在使用对应软件打开
#include<stdio.h>#include<stdlib.h>#include<conio.h>#include<windows.h>#include<string.h>#defineLENsizeof(structstudent)#defineDAT_FILENAME"Information.txt"/**********************定义数据结构********************/structdate{intyear;intmonth;intday;};structstudent{intID;charName[8];intage;charxb;chartelephone[15];charaddress[40];structdatebirthday;charemail[40];structstudent*next;};/*************************函数原型*********************/voidDispMainMenu();voidDisplayInformation(structstudent*head);structstudent*FindstudentID(structstudent*head,intfindID);structstudent*FindstudentName(structstudent*head,charfindname[]);structstudent*InformationInput(structstudent*head);voidQueryInformation(structstudent*head);structstudent*EditInformation(structstudent*head);structstudent*Insert(structstudent*head,structstudent*p);voidSave(structstudent*head);structstudent*Read(structstudent*head);structstudent*Delete(structstudent*head,intfindID);structstudent*Add(structstudent*head);voidHelp();/************************显示主菜单***************************/voidDispMainMenu(){printf("*********************************学生信息管理系统******************************\n");printf("\n");printf("\t\t\t\t1--信息录入\n");printf("\n");printf("\t\t\t\t2--信息修改\n");printf("\n");printf("\t\t\t\t3--信息查询\n");printf("\n");printf("\t\t\t\t4--保存数据到文件\n");printf("\n");printf("\t\t\t\t5--打开数据文件\n");printf("\n");printf("\t\t\t\t6--文件追加\n");printf("\n");printf("\t\t\t\t7--帮助\n");printf("\n");printf("\t\t\t\t0--退出\n");printf("\n");printf("友情提示:初次使用请先阅读帮助\n");printf("*******************************************************************************\n");printf("请选择(0-7):");/*显示主菜单*/}/*************************************帮助**************************************************/voidHelp(){printf("\n\t\t\t欢迎进入帮助系统!\n\n");printf("\t1.请按照主菜单提示选择所需执行功能的数字代号!\n");printf("\t2.所有文件请按照规范输入\n");printf("\t3.刚开始执行程序时若需要文本文件里的数据,请先进行读取文件信息!\n")