Archived

This topic is now archived and is closed to further replies.

pizza box

Saving/Loading in C++

Recommended Posts

Is there a function to save to a file in C++? I am making a text-based RPG in C++ so I can get the hang of the language, but I don''t know how to save or load information. Does anyone have the syntax and/or explanation for a way to do this? Thanks.

Share this post


Link to post
Share on other sites
Do a search for the article named Simple File I/O. It explains how to use the fstream functions... That should answer all your questions...



"And that''s the bottom line cause I said so!"

Cyberdrek
Headhunter Soft
A division of DLC Multimedia

Resist Windows XP''s Invasive Production Activation Technology!

"gitty up" -- Kramer

Share this post


Link to post
Share on other sites