线性表的查找代码.docVIP

  • 73
  • 0
  • 约5.02万字
  • 约 5页
  • 2016-12-07 发布于河南
  • 举报
线性表的查找代码

#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; ,,,,} ,,,,printf(\n文件的内容是:\n\

文档评论(0)

1亿VIP精品文档

相关文档