27 Dec
2007
27 Dec
'07
4:44 p.m.
On Thursday 27 December 2007 00:20:24 sjdf wrote:
// Save std::ofstream ofs( "c.out" );
A testA1; B testB1;
testA1.Save( ofs ); testB1.Save( ofs );
ofs.close();
// Load std::ifstream ifs( "c.out" );
A testA11; B testB11;
testA11.Load( ifs ); testB11.Load( ifs );
The simple solution would be to create a "C" type that contains an "A" and a "B". Then you could just save and load the C object. Hope This Helps, Justin