我的程序原来编译连接均已问题,且可运行,刚才想给他加个新功能,不知在哪儿弄了一下,结果原先包含有关文件后,即有效的类,现在编译器均不认识了,你们说该怎么办???? 是不是在程序的最开始的地方,加了什么东东的!不过以后编程序的时候最好在加新功能的时候先backup一下! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 谢谢fz_zhou(vcfan),但我好象没有在在程序的最开始的地方加什么东西啊!不过以后编程序的时候我会在加新功能的时候先backup一下了! 以下是错误提示c:\1vc\2d\plot.h(29) : error C2061: syntax error : identifier 'CDraw2D'c:\1vc\2d\plot.h(41) : error C2146: syntax error : missing ';' before identifier 'm_draw'c:\1vc\2d\plot.h(41) : error C2501: 'CDraw23D' : missing storage-class or type specifiersc:\1vc\2d\plot.h(41) : error C2501: 'm_draw' : missing storage-class or type specifiersc:\1vc\2d\plot.h(55) : error C2143: syntax error : missing ';' before '*'c:\1vc\2d\plot.h(55) : error C2501: 'CDraw23D' : missing storage-class or type specifiersc:\1vc\2d\plot.h(55) : error C2501: 'GetDraw' : missing storage-class or type specifiers 可能是CDraw2D的头文件未加进去, 在你的类声明前加上 class CDraw2D; 试一试. 怎么读取CRichEditCtrl到CString? 设置等宽字体问题 mfc循环暂停 关于画图的,为什么我画不上去??? 如何知道OCX文件里面的COM Class名字是什么 一个导出类的dll,在vc中怎么调用 请教大侠:Report类型的ListCtrl,怎样激活并编辑SubItem? d3d10 11 texture2D 缩放 RichEdit可以设置成单行模式吗?相当于变成Edit,可否?? 谁能回答我的问题就算高手 怎麽学VC,请指点一下吧!感激不尽!!!!!!!!! 急问:如何在一个视图中获得当前光标所在行的字符串?
但我好象没有在在程序的最开始的地方加什么东西啊!
不过以后编程序的时候我会在加新功能的时候先backup一下了!
c:\1vc\2d\plot.h(29) : error C2061: syntax error : identifier 'CDraw2D'
c:\1vc\2d\plot.h(41) : error C2146: syntax error : missing ';' before identifier 'm_draw'
c:\1vc\2d\plot.h(41) : error C2501: 'CDraw23D' : missing storage-class or type specifiers
c:\1vc\2d\plot.h(41) : error C2501: 'm_draw' : missing storage-class or type specifiers
c:\1vc\2d\plot.h(55) : error C2143: syntax error : missing ';' before '*'
c:\1vc\2d\plot.h(55) : error C2501: 'CDraw23D' : missing storage-class or type specifiers
c:\1vc\2d\plot.h(55) : error C2501: 'GetDraw' : missing storage-class or type specifiers