#2
happycplusplus2008-10-12 00:17
|
下面是程序的错误,由于找不到上传的地方,只好先暂时把错误发上来,希望高人指点一下
很多错误都是类似的,我刚自学,见谅哈~~~~~~~~~
如果知道怎么改,可以留下邮箱地址,或者加我QQ:471959080
谢谢了啊~~
Compiling...
MainFrm.cpp
E:\通讯录管理系统\MyODBC\MainFrm.cpp(113) : error C2065: 'm_pSet' : undeclared identifier
E:\通讯录管理系统\MyODBC\MainFrm.cpp(113) : error C2227: left of '->Close' must point to class/struct/union
E:\通讯录管理系统\MyODBC\MainFrm.cpp(114) : error C2227: left of '->m_strSort' must point to class/struct/union
E:\通讯录管理系统\MyODBC\MainFrm.cpp(115) : error C2227: left of '->Open' must point to class/struct/union
E:\通讯录管理系统\MyODBC\MainFrm.cpp(122) : error C2065: 'DoQuery' : undeclared identifier
MyODBCView.cpp
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(163) : error C2065: 'CAddressDlg' : undeclared identifier
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(163) : error C2146: syntax error : missing ';' before identifier 'dlg'
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(163) : error C2065: 'dlg' : undeclared identifier
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(164) : error C2228: left of '.DoModal' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(168) : error C2228: left of '.m_number' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(169) : error C2228: left of '.m_name' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(170) : error C2228: left of '.m_homephone' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(171) : error C2228: left of '.m_officephone' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(172) : error C2228: left of '.m_mobilephone' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(173) : error C2228: left of '.m_email' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(174) : error C2228: left of '.m_address' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(175) : error C2228: left of '.m_postalcode' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(197) : error C2146: syntax error : missing ';' before identifier 'dlg'
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(198) : error C2228: left of '.m_address' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(199) : error C2228: left of '.m_email' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(200) : error C2228: left of '.m_homephone' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(201) : error C2228: left of '.m_mobilephone' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(202) : error C2228: left of '.m_name' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(203) : error C2228: left of '.m_number' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(204) : error C2228: left of '.m_officephone' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(205) : error C2228: left of '.m_postalcode' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(206) : error C2228: left of '.DoModal' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(210) : error C2228: left of '.m_number' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(211) : error C2228: left of '.m_name' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(212) : error C2228: left of '.m_homephone' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(213) : error C2228: left of '.m_officephone' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(214) : error C2228: left of '.m_mobilephone' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(215) : error C2228: left of '.m_email' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(216) : error C2228: left of '.m_address' must have class/struct/union type
E:\通讯录管理系统\MyODBC\MyODBCView.cpp(217) : error C2228: left of '.m_postalcode' must have class/struct/union type
Generating Code...
Error executing cl.exe.
MyODBC.exe - 35 error(s), 0 warning(s)