你说的那个叫:stream position indicator [解决办法] 你打开文件后指针在0位置,你读了8个字节而不是8位的数据后指针指向8而不是7 [解决办法]
[解决办法] 可以用ftell或_tell或_telli64或SetFilePointer
获取当前文件读写位置。不过要注意: When the "r+", "w+", or "a+" access type is specified, both reading and writing are allowed (the file is said to be open for “update”). However, when you switch between reading and writing, there must be an intervening fflush, fsetpos, fseek, or rewind operation. The current position can be specified for the fsetpos or fseek operation, if desired.