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

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -