[void chazhao() {
if((fp=fopen("s_score.txt","rb"))==NULL) {
printf("\nCannot open this file.\n"); exit(0); }
printf("\nPLease shuru xuehao chakan:"); scanf("%d",&i);
while(fread(&data,sizeof(data),1,fp)==1) {
j=atoi(data.xuehao); if(i==j) {
printf("xuehao:%s mingzi:%s\n nianling:%s\n shuxue:%f\n yingyu:%f\n wuli:%f\n zongfen:%f\n",data.xuehao,data.mingzi,data.nianling,data.score[0],data.score[1],data.score[2],data.score[3]);