
23 Oct
2011
23 Oct
'11
2:05 p.m.
Hello, Everyone:
boost::serialization is a cool library. I use it in my project. I
encounter a problem now.
I serialized a array of objects to file as following:
std::ofstream ofs(filename, std::ios_base::binary);
boost::binary_oarchive oar(ofs);
oar << obj[0] << obj[1] << ... << obj[n-1];
Now I want to load the obj[i] (i>=0 && i