hey i am making a game and decided that i want to put a load/save option in it and was wondering if anyone here knew how to do this, (the program has to be able to close, open again and load the progress from before). I am running in windows using Borland editor 3.

It depends heavily on how your game works. For the most part, all you need to do is save relevant information about the player such as stats, items, and location. Then you can rebuild the current game state upon load.

I understand that you have to save it to another file with all the stuff needed, but i don't know how to do this (i am a new programmer, the game is in dos mode and isjust input output type stuff.)

Are you writing your game in C or C++?

c++

and thanx for the tip on fstream

This question has already been answered. Start a new discussion instead.