seekg()

what can this line mean:
fil.seekg(-1*sizeof(obj),ios::current)
thank you but i still do not understand what -1*sizeof(obj) signifies?
Last edited on
What happens to a number if you multiply it by -1?
sizeof(obj) gets the size in bytes of obj.

A positive value means move forwards, negative means move backwards.
Last edited on
Topic archived. No new replies allowed.