I've been trying to deubug a program which saves information in a file. I realized that the bug appears to be that seekg(x) reads from one byte later than seekp(x) writes to. Is this the case?
My compiler is :
Microsoft Visual Studio 2010
Version 10.0.30319.1 RTMRel
Microsoft .NET Framework
Version 4.0.30319 RTMRel
Installed Version: VC Express
Microsoft Visual C++ 2010 01013-169-2610014-70199
Microsoft Visual C++ 2010