返回:指向链表表头的指针 /***/voidinsert_message(structstudent*head) { FILE* fp;//定义文件指针structstudent* pointer,*q,*temp;//p指针指向新节点 q指向插入节点的地方fp=fopen("student.txt","wb+"); pointer=head->next;//跳过头结点 指向下一个节点InputBox(stu.ID,11,"请输入要插入哪个学号位...
c语言链表从本地文件中读取和写入数据 1typedefstructData{240char*name;341char*IDCARD;442char*job_id;543char*length;644char*education;745char*marriage;846intlocal;947}Data;10481149typedefstructnode{1250Data *data;1351structnode *next;1452structnode *prior;1553}node;16541755typedefstructdoublelist{1856n...
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有...
返回:指向链表表头的指针 /***/voidinsert_message(structstudent*head) { FILE* fp;//定义文件指针structstudent* pointer,*q,*temp;//p指针指向新节点 q指向插入节点的地方fp=fopen("student.txt","wb+"); pointer=head->next;//跳过头结点 指向下一个节点InputBox(stu.ID,11,"请输入要插入哪个学号位...