|
|
car = GetCar(dataIn);. However, I can't see anything particularly wrong with your use of seekg & tellg (though it looks to me that their use is pretty much redundant here?), apart from that I don't think you need the +1 in your seekg function call.