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.)

I don't know how to help you because I don't know the specifics of your game. Sorry.

Look up <fstream> its a thing of beauty.

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

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

c++

and thanx for the tip on fstream

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.