title: Saving and loading data to a file c++ (beginner)
body: <p>I have a class containing many different variables, for example there's a few multidimensional vectors in there.</p>
  
  <p>I've heard that you can store and load data directly to a file, but to what extent?</p>
  
  <p>For example if I create an instance of this class, fill it up, then save it to a file, can I load it the same way? Like how does that work? Do I just save it all in one go or do I have to split up the data somehow?</p>