我想用两个EIDT控件显示数据 对两个变量m_x m_y都设成CString型
m_x.Format("%f",x);
m_y.Format("%f",y);
编译结果总出现这种错误 是什么原因啊 大哥大姐们帮忙看看
error C2065: 'm_x' : undeclared identifier
error C2228: left of '.Format' must have class/struct/union type
error C2065: 'm_y' : undeclared identifier
error C2228: left of '.Format' must have class/struct/union type
m_x.Format("%f",x);
m_y.Format("%f",y);
编译结果总出现这种错误 是什么原因啊 大哥大姐们帮忙看看
error C2065: 'm_x' : undeclared identifier
error C2228: left of '.Format' must have class/struct/union type
error C2065: 'm_y' : undeclared identifier
error C2228: left of '.Format' must have class/struct/union type
#include <afx.h>要是MFC程序就不用加的。
例外为什么我用UpdateData(TRUE)也会提示UpdateData:undeclared identifier的错误