hrmm i was wondering if someone could jsut write a very simple loop, that reads a line at a time from a file.
something like
Code:istream& Message::read(istream& stream){ while( end of file ) { getline(....?...); /* read an int on next line of file? */ getline(....?...); } return stream; }