Webastor - Programming Tips and Tricks

Programming language => C++ => Topic started by: Omar on November 17, 2016, 07:04:54 PM

Title: How do you make a save file for a game written in c++?
Post by: Omar on November 17, 2016, 07:04:54 PM
Hello, I would like to ask you a big problem, I would like to know, how do you make a save file for a game written in c++? Thank you very much for helping me quickly because I'm stressed.
Title: Re: A save file for a game
Post by: Damian on April 30, 2017, 09:59:28 AM
You need use serialization to save your variables in memory to your hard drive. There are many types of serialization, in .NET XML is a common format, though there are binary and JSON serializers available.