(C++) Saving / reading structures to / from disk (desperate measures)