Jump to content
  • Advertisement


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

pizza box

Saving/Loading in C++

This topic is 6089 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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!"

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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!