• Create Account

### #Actualhit

Posted 30 October 2012 - 10:44 PM

how do I store variables/data in a file, that
can be read later, for example a save file for a game

I can create, write, read from files using c,c++ & win32 but cant find how I would
simulate a config/save file

### #1hit

Posted 30 October 2012 - 09:20 PM

how do I store variables/data in a file, that
can be read later, for example a save file for a game
can I do something like this? (save1.cfg)
userhealth = 100;positionX = 12;positionY = 8;

etc,
I want it so it doesn't matter what order they are in

I can create, write, read from files using c,c++ & win32 but cant find how I would
simulate a config/save file

PARTNERS