MFC:
CFile类提供Read,Write,Seek,SeekToBegin,SeekToEnd,GetLength函数
Win32:
CreateFile(创建或打开文件),ReadFile,WriteFile
C++:
向文件中写入数据:ofstream
读取文件数据:ifstream