如何在C

时间:2017-08-18 16:46:31

标签: c

这是为了刽子手游戏。如何保存一些名称和分数?

FILE *fscore;
fscore=fopen("scores.txt","r+");
fprintf(fscore," new score %s = %d\n",player,n);
fclose(fscore);

例如:

nancy = 13

michal = 50

nina = 10

0 个答案:

没有答案