//ftell()原型。功能:用于得到文件位置指针当前位置相对于文件首的偏移字节数 _Check_return_ _CRTIMP long __cdecl ftell(_Inout_ FILE * _File);
fseek(PFile, 0, SEEK_END);//将文件指针从文件头移动到文件尾,则指针的长度就是文件的长度 int m_length = ftell(PFile);