C++中的文件通道

use*_*771 2 c c++ io filechannel

在java中,有FileChannel,我可以从文件通道读取.我也可以在我想要开始阅读的频道中设置位置.

C++/C中的任何类似函数?

Ani*_*nge 6

请查看C++ ifstream::seekg()ifstream::tellg().也在C:ftell()fseek()函数中<stdio.h>