| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1397 人关注过本帖
标题:[求助]VC++总是出错。。急求。。
只看楼主 加入收藏
hlswww
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2005-8-6
收藏
 问题点数:0 回复次数:1 
[求助]VC++总是出错。。急求。。

--------------------Configuration: canvas - Win32 Debug-------------------- Compiling... canvasFrame.cpp c:\program files\microsoft visual studio\vc98\include\crtdbg.h(536) : error C2833: 'operator DEBUG_NEW' is not a recognized operator or type c:\program files\microsoft visual studio\vc98\include\crtdbg.h(536) : error C2059: syntax error : 'newline' c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(674) : error C2833: 'operator DEBUG_NEW' is not a recognized operator or type c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(674) : error C2059: syntax error : 'newline' c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(674) : error C2238: unexpected token(s) preceding ';' c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(675) : error C2833: 'operator DEBUG_NEW' is not a recognized operator or type c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(675) : error C2059: syntax error : 'newline' c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(675) : error C2238: unexpected token(s) preceding ';' c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(683) : error C2833: 'operator DEBUG_NEW' is not a recognized operator or type c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(683) : error C2059: syntax error : 'newline' c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(683) : error C2238: unexpected token(s) preceding ';' c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(1631) : error C2833: 'operator DEBUG_NEW' is not a recognized operator or type c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(1631) : error C2059: syntax error : 'newline' c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(122) : error C2059: syntax error : 'string' c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(123) : error C2091: function returns function c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(123) : error C2802: static member 'operator new' has no formal parameters c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(123) : error C2333: 'new' : error in function declaration; skipping function body c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(131) : error C2059: syntax error : 'string' c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(131) : error C2091: function returns function c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(131) : error C2802: static member 'operator new' has no formal parameters c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(135) : error C2059: syntax error : 'string' c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(135) : error C2091: function returns function c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(135) : error C2556: 'void *(__cdecl *__stdcall CNoTrackObject::operator new(void))(unsigned int,const char *,int)' : overloaded function differs only by return type from 'void *(__c decl *__stdcall CNoTrackObject::operator new(void))(unsigned int)' c:\program files\microsoft visual studio\vc98\mfc\include\afxtls_.h(131) : see declaration of 'new' d:\vc\ch07\ch7-5\canvasframe.cpp(17) : fatal error C1903: unable to recover from previous error(s); stopping compilation Error executing cl.exe. Creating browse info file... BSCMAKE: error BK1506 : cannot open file '.\Debug\canvasFrame.sbr': No such file or directory Error executing bscmake.exe.

canvas.exe - 25 error(s), 0 warning(s) ------------------------------------------------------------------------------------------------------------------------------- 总是出现这个错误,不一定什么时候,有时加个变量就出现这个错误,可是变量删除了错误还在,而且怎么改都不能运行,只有重来。但是加同样的东西,有时出现这个错误,有时没有错误,究竟怎么回事啊,请各位老大指点指点小弟吧,小弟在这里先谢过了。

搜索更多相关主题的帖子: operator program visual files 
2005-08-06 02:08
diante
Rank: 1
等 级:新手上路
帖 子:63
专家分:0
注 册:2005-7-10
收藏
得分:0 
c:\program files\microsoft visual studio\vc98
这东西装到系统盘上有影响吗
2005-08-07 13:52
快速回复:[求助]VC++总是出错。。急求。。
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.044546 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved