请各位告诉我这个c++错误怎么破
E:\c++\object2\object2Dlg.cpp(185):errorC2819:type'CFile'doesnothaveanoverloadedmembe...
E:\c++\object2\object2Dlg.cpp(185) : error C2819: type 'CFile' does not have an overloaded member 'operator ->'
c:\program files (x86)\microsoft visual studio\vc98\mfc\include\afx.h(1202) : see declaration of 'CFile'
E:\c++\object2\object2Dlg.cpp(185) : error C2227: left of '->_flag' must point to class/struct/union
E:\c++\object2\object2Dlg.cpp(185) : fatal error C1903: unable to recover from previous error(s); stopping compilation
执行 cl.exe 时出错. 展开
c:\program files (x86)\microsoft visual studio\vc98\mfc\include\afx.h(1202) : see declaration of 'CFile'
E:\c++\object2\object2Dlg.cpp(185) : error C2227: left of '->_flag' must point to class/struct/union
E:\c++\object2\object2Dlg.cpp(185) : fatal error C1903: unable to recover from previous error(s); stopping compilation
执行 cl.exe 时出错. 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询