MFC 进行文件写操作时出错error C2593: 'operator <<' is ambiguous,怎么解决呢
CFilemFile;mFile.Open("d:\\ab.txt",CFile::modeCreate|CFile::modeNoTruncate|CFile::mod...
CFile mFile;
mFile.Open("d:\\ab.txt",CFile::modeCreate|CFile::modeNoTruncate|CFile::modeWrite);
CArchive ar(&mFile,CArchive::store);
ar<<m_customer<<" "<<m_pass;
ar.Close();
mFile.Close();
error C2593: 'operator <<' is ambiguous 展开
mFile.Open("d:\\ab.txt",CFile::modeCreate|CFile::modeNoTruncate|CFile::modeWrite);
CArchive ar(&mFile,CArchive::store);
ar<<m_customer<<" "<<m_pass;
ar.Close();
mFile.Close();
error C2593: 'operator <<' is ambiguous 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询