求助啊!!!
CString str; //获取系统时间
CTime tm; tm = CTime::GetCurrentTime();
str = tm.Format("%Y-%m-%d-%H-%M-%S");
CString dir = CCongfig::GetModuleDir();
m_fileDir = dir + "\\dat\\" + str + ".dat";
CFile file(m_fileDir, CFile::modeCreate | CFile::modeWrite | CFile::modeNoTruncate);
mFileList.Add(file); //问题在这里
提示我: C2280 “CFile &CFile::operator =(const CFile &)”: 尝试引用已删除的函数
求大神 帮帮我吧。