How to save multiple high scores in C -
this hangman game. how can save few names , scores?
file *fscore; fscore=fopen("scores.txt","r+"); fprintf(fscore," new score %s = %d\n",player,n); fclose(fscore); for example this:
nancy = 13 michal = 50 nina = 10
Comments
Post a Comment