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

Popular posts from this blog

string - Using python and postgres, variables within execute function? -

android - How to get the Uri path from a ImageView? -