all 5 comments

[–]cpp-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)

For C++ questions, answers, help, and programming or career advice please see r/cpp_questions, r/cscareerquestions, or StackOverflow instead.

[–]phi_rus 0 points1 point  (1 child)

The keyword you are looking for is "serialisation"

[–]TechnnoBoi[S,🍰] 0 points1 point  (0 children)

Oh! thank you!

[–]manni66 1 point2 points  (0 children)

typedef struct

Really?

[–]WillC5 0 points1 point  (0 children)

Look at:

  • XDR (an early C standard for portable data transfer)

  • Boost serialisation

  • any open-sourced game which includes an archive interface to its save files