I have a game that requires me to save alot of info to a txt file.
The problem is, I must store all the individual things into separate txt files because I have no idea how to get c++ to read individual lines of a file.
For example - I want to have a txt file like this:
line 1 = money
line 2 = lives
line 3 = respect points
So if I needed c++ to grab the # of lives a player has I would tell it:
"look on like #2 and save that info to a variable"
Thanks so much!