线性表的查找代成码.docVIP

  • 4
  • 0
  • 约5.07千字
  • 约 12页
  • 2016-10-08 发布于湖南
  • 举报
线性表的查找代成码

#include stdio.h #include stdlib.h #include string.h #define M 3 #define B 3 #define S 6 typedef char datatype; typedef char keytype; typedef struct { char num[8]; char name[10]; int chin; int phy; int chem; int eng; }STUDENT; STUDENT stud[M]; typedef struct { keytype key[8]; STUDENT stu; } TABLE; typedef struct { keytype key[8]; int low,high; } INDEX; TABLE list[M]; INDEX inlist[B]; int save() { FILE *fp; int i; if((fp=fopen(score.txt,wb))==NULL) { printf(Canneot open file!\n); return 0; }

文档评论(0)

1亿VIP精品文档

相关文档