I'm working on a profiles type of system and this is my latest build. It works and everything but when i cout the data from the profile its all these weird characters.
the files have data like this:
name level score
john 2 1000
heres the code. I think its the way I'm breaking up the string thats screwing it up. the code to put default data in the file when its empty works.
These lines say to look at the (Counter)th element of the string, and ADD TO THAT CHARACTER the character in the file.
So in other words, 'A' + 'B' == ASCII (65 + 66) == ASCII 131, which is not a letter.