I'm trying to save an int to a file so that it can be read in notepad. Currently it is going to save the score to the file, and I'm probably going to have it so it saves a high score list or something later.
The problem is that I think it is saving in binary, because when I open it in notepad all I get is the "unsupported character symbol" (looks like a rectangle). Here's what I've got:
int score=0;//this is added up through the game