I need some help with this part of a BATTLE SHIP program for school. The data file has to have their name and score. What i want to know is how to make the data file, display it correctly, how to sort the players according to the score and how to write to the file if the player has a high score. Its only the top 3 scores that i need to display. I think its C++6 im not sure though.

Can someone help me?