链表与文件的结合使用.docVIP

  • 23
  • 0
  • 约7.92千字
  • 约 9页
  • 2017-05-27 发布于河南
  • 举报
链表与文件的结合使用

#includestdio.h #includestdlib.h #includestring.h #include malloc.h #define fileFormat %s %d %d %s %s\n typedef struct classroom //定义结构体 { char site[20]; //地理位置 一个汉字占两个字符 int num; //教室编号 int zuowei; //座位数 char tv[20]; //是否有多媒体 char use[20]; //是否可用 struct classroom * next; } Node; /**********************************************************************/ void information() { printf(\n\n\n\t\t\t 教室信息管理系统); printf(\n\t\t\t 版本:简易版\n\n); printf(\n \t\t\t 20115年12月10日\n); printf(\t\t\t

文档评论(0)

1亿VIP精品文档

相关文档