C++ MFC CFile类 二进制文件读写
// 创建、写入方式打开文件CFile file;file.Open("C://TestFile.txt", CFile::modeWrite | CFile::modeCreate);// 写入文件memset(WriteBuf, 'a', sizeof(WriteBuf));file.Write(WriteBuf, sizeof(WriteBuf));// 关闭文件file.Close();// 只读方式打开文件file.Open("C://TestFile.t