Author Topic: How do you make a save file for a game written in c++?  (Read 194 times)

Offline Omar

  • 1
  • Newbie
  • *
  • Posts: 0
  • Karma: +0/-0
    • View Profile
How do you make a save file for a game written in c++?
« 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.
« Last Edit: April 30, 2017, 09:58:30 AM by Sofyene »



Offline Damian

  • 1
  • Newbie
  • *
  • Posts: 0
  • Karma: +0/-0
    • View Profile
Re: A save file for a game
« Reply #1 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.


 

Sitemap 1 2 3 4 5 6 7 8 9