标签: 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