B
bintom
I recently had a doubt about the following lines of code. I have
posted and received a satisfactory reply to it. However, a couple of
responses advised me to use serialized and deserialized methods to do
the work. Where can I find some info on what serialized and
deserialized methods are and what they can do for me.
fstream file("Group.txt", ios::ate | ios::in | ios::binary);
file.seekg(0);
while(file.read((char *)this, sizeof(*this)))
{ // some code
}
posted and received a satisfactory reply to it. However, a couple of
responses advised me to use serialized and deserialized methods to do
the work. Where can I find some info on what serialized and
deserialized methods are and what they can do for me.
fstream file("Group.txt", ios::ate | ios::in | ios::binary);
file.seekg(0);
while(file.read((char *)this, sizeof(*this)))
{ // some code
}