Save vector<double> to file and read it later?

Hi,

Are there any built in methods to save ~ 30 large vectors (19000 indices each) to one data file?

Then I want to be able to read them back into their original vectors…

Thanks for the help!

ofMesh has a save() method which may save you some time

http://www.openframeworks.cc/documentation/3d/ofMesh.html#!show_save

if it is not 3D data - there is also

ofBufferToFile
and
ofBufferFromFile