Reading and Writing std::vector<struct> to a file
I need to write a vector to a file, and then read it back into a vector. The vector contains hundreds, possibly thousands, of structs which each contain 2 different structs. I thought that the best way to do it would be to get the pointer with MyVector.data() and somehow write the data using that.… Read More Reading and Writing std::vector<struct> to a file