Basically this is what I have. Note: f is declared as fstream
When I check the file. It does not overwrite from the point where it moves to (temp_v).
long int posl;
for(long int i = 0; i < temp_v; ++i)
posl = f.tellp();
Instead it just continues to append from the end of the file as if I didn't do any of the moving to a specific line stuff.