You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
292 B

#include"main.h"
save(int v){
FILE *precord=fopen("record.txt","w");
fprintf(precord,"%d %d %d\n",range,kind,voice);
for(int i=0;i<4;i++){
for(int j=0;j<10;j++){
fprintf(precord,"%s %d %.2f\n",dates[i][j].name,dates[i][j].scores,dates[i][j].time);
}
}
fclose(precord);
}