   Saving & Loading Advice
  Hello to whoever reads this, :)   For my current game project, I want to implement and Saving and Loading....system (lack of a better word). Its just a simple Text-Base game, but I've never delt with Saving and Loading before. I've found a few forum topics and websites about it. So those should help.    The reason I'm posting is to get some advice. Anything you could add that would make the process of making this "system" easier. I know this can mean many different things, so I guess what I'm looking for is: Pitfalls that I should avoid. Things I should do. Things I shouldn't do. Etc....So, if you just have anything to add that you think would be helpful, go ahead and post.Thanks for reading.   
  Without more specific questions, the best I think I can do is point you at the  C++ FAQ section on serialization.   ;  That IS a wide open question!  I'll give a wide open answer.Start by designing things with "save/load" in mind.  Try to identify all the objects and variables that will need to be saved to disk when they get changed.  Scores, enemies (hit points, map coordinates, alive/dead, etc.), quests (state, pass/fail, etc.), and whatever else your game has that can change due to player interaction.  What data needs to persist, and what data is unchanged between games?The objects that store the data (classes) might be the best place to handle loading the data in from saved games and saving the data to disk.  When you change the "map" class, for example, you can also change the way it loads and saves a map to disk at the same time.  Then the routine that handles saving and loading data can go through all the game objects and tell them to load themselves from a given location (file, directory, database table, whatever).If a save game file(s) do not contain any data for a game object, then the game object uses its default values.  ie, The player has not modified the game object.There are many many schemes for saving games, I doubt I am helping here.  Just try to design your objects with save/load in mind.