#include〈stdio
h〉 #include〈stdlib
h>#include〈string
h〉#define LEN 15 #define N 100 struct record //定义结构体{char code[LEN]; char name[LEN]; int age; char sex[3]; char time[LEN]; char add[30]; char tel[LEN]; char mail[30]; }stu[N];int k=1,n,m; //引用void readfile();void seek();void modify();void insert();void del();void display();void save();void menu();int main(){while(k) menu(); system("pause”); return 0;}void help(){printf(”\n0
欢迎使用系统帮助
\n”);printf(”\n1
进入系统后,先刷新学生信息,再查询;\n”);printf(”\n2
根据菜单提示键入数字代号;\n”);printf("\n3
增加学生信息后,切记保存按;\n");printf(”\n4
谢谢您的使用
\n”);}void readfile()//建立信息{char *p="student
txt”;FILE *fp;int i=0;if ((fp=fopen("C:\\Users\\86139\\Desktop\\student
txt”,"r+”))==NULL){printf("Open file %s error
Strike any key to exit
”,p);system(”pause”);//暂停的意思,等待用户信号exit(0);} while ( fs