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

meteor - inserting data to database gives error "insert failed: Method '/texts/insert' not found" -

angular - DownloadURL return null in below code -