15,978
社区成员
发帖
与我相关
我的任务
分享
CString FileExt;
FileExt=((CString)lpszPathName).Right(((CString)lpszPathName).GetLength()-((CString)lpszPathName).ReverseFind('.')-1);
CFile file(_T("1.txt"),CFile::modeRead);
CString str;
file.Read(str,file.GetLength());
file.Close();