in my project in first time to read the data from the file i wrote
out.seekg( (ID-1) * sizeof ( node ));
out.read(reinterpret_cost < char * > ( &e ), sizeof (node ));
e.print();
the output of data is correct
but when i want to read it in the second time the out put
is zero
i wrote
out.clear();
out. seekg(0);
out.read(reinterpret_cost < char * > ( &e ), sizeof (node ));
e.print();
what can i do ...
plz help me



LinkBack URL
About LinkBacks



I used to be an adventurer like you... then I took an arrow to the knee.