c语言程序设计62218.docVIP

  • 6
  • 0
  • 约 46页
  • 2017-03-06 发布于江苏
  • 举报
我这是源代码已经调试过了,在VC++上运行成功了。 #include stdio.h /*I/O函数*/ #include stdlib.h /*其它说明*/ #include string.h /*字符串函数*/ #include conio.h /*屏幕操作函数*/ #include mem.h /*内存操作函数*/ #include ctype.h /*字符操作函数*/ #include alloc.h /*动态地址分配函数*/ struct score int mingci; char xuehao[8]; char mingzi[20]; float score[6]; data,info[1000]; int i,j,k 0; char temp[20],ch; FILE *fp,*fp1; void shuru if fp fopen s_score.txt,ab+ NULL printf cannot open this file.\n ; getch ;exit 0 ; for i 0;i 1000;i++ printf \nPlease shuru xuehao: ; gets data.xuehao ; printf Please shuru mingzi: ; gets data.mingzi ; printf

文档评论(0)

1亿VIP精品文档

相关文档