Jump to content
  • Advertisement
Sign in to follow this  
Miley Cyrus

File/Data Management in C++

This topic is 3848 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

I'm not especially new to programming, but I am new to C++. I was wondering if any of the experienced users here could direct me to any sort sof tutorials, or extensive documentation, on the creating and storing data files (that contain varibles, arrays, etc) and being able to recall that data into your game. Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by Miley Cyrus
I'm not especially new to programming, but I am new to C++. I was wondering if any of the experienced users here could direct me to any sort sof tutorials, or extensive documentation, on the creating and storing data files (that contain varibles, arrays, etc) and being able to recall that data into your game.

Thanks in advance.
A quick hint: The term you're looking for is 'serialization'.

If you're looking for an existing solution in C++, check out the Boost Serialization library.

Share this post


Link to post
Share on other sites
Right, the C++ standard library currently does not have any provision for serialization. So you either code your own (which you might be aware, is more complicated than it seems) or use a third party library.

The Boost library is rather well known, (I'll leave it to you to find out why it has such a high reputation). So it's not a bad starting point.

Share this post


Link to post
Share on other sites
Sign in to follow this  

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