很简单的程序编译时都产生错误,谁要我是新手呢:( 哪位大虾帮帮忙!!! 自己看看头文件是不是包含,或者用class声明下 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 d:\我的例子\book_chat\listeningsocket.h(23) : error C2629: unexpected 'class CListeningSocket ('类的定义或者d:\我的例子\book_chat\listeningsocket.h(23) : error C2238: unexpected token(s) preceding ';'d:\我的例子\book_chat\listeningsocket.h(28) : error C2143: syntax error : missing ';' before '*'语法错误d:\我的例子\book_chat\listeningsocket.h(28) : error C2501: 'CBook_chatDoc' : missing storage-class or type specifiers传递错误d:\我的例子\book_chat\listeningsocket.h(28) : error C2501: 'm_pDoc' : missing storage-class or type specifiersD:\我的例子\book_chat\ListeningSocket.cpp(17) : error C2065: 'CBook_chatDoc' : undeclared identifierD:\我的例子\book_chat\ListeningSocket.cpp(17) : error C2065: 'pDoc' : undeclared identifierD:\我的例子\book_chat\ListeningSocket.cpp(18) : error C2448: '<Unknown>' : function-style initializer appears 'CBook_chatDoc' 这个类的声明是否在文件book_chat.h之中而且应在listeningSocket.h中include book_chat.h, 'CBook_chatDoc' 这个类的声明是否在文件book_chat.h之中而且应在listeningSocket.h中include book_chat.h, windows api画柱状图 HOOK指定类型文件的的复制和重命名 extracticon中的第一个参数有什么用? MFC MDI 单文档多视图的保存问题 串口,在遍历了1-9串口出现了问题? 急切向學VC++ 一个别人的.obj文件,给了我其中的函数名与参数,我能用其中的功能吗? HELP!!!how to debug DLL, here is a case...在线等!also Stack overflow 求助:在一个单文档程序中,怎样判断鼠标是否进入了状态栏中?? 工具栏上如何加icon图标???? 对话框问题讨教 算法时间求助
类的定义或者
d:\我的例子\book_chat\listeningsocket.h(23) : error C2238: unexpected token(s) preceding ';'
d:\我的例子\book_chat\listeningsocket.h(28) : error C2143: syntax error : missing ';' before '*'
语法错误
d:\我的例子\book_chat\listeningsocket.h(28) : error C2501: 'CBook_chatDoc' : missing storage-class or type specifiers
传递错误
d:\我的例子\book_chat\listeningsocket.h(28) : error C2501: 'm_pDoc' : missing storage-class or type specifiers
D:\我的例子\book_chat\ListeningSocket.cpp(17) : error C2065: 'CBook_chatDoc' : undeclared identifier
D:\我的例子\book_chat\ListeningSocket.cpp(17) : error C2065: 'pDoc' : undeclared identifier
D:\我的例子\book_chat\ListeningSocket.cpp(18) : error C2448: '<Unknown>' : function-style initializer appears
而且应在listeningSocket.h中include book_chat.h,
而且应在listeningSocket.h中include book_chat.h,