| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 2225 人关注过本帖
标题:用VC++6.0编译的时候,下面出现这种情况,是怎么回事,请大神帮帮忙
只看楼主 加入收藏
计算机好难啊
Rank: 1
等 级:新手上路
帖 子:33
专家分:8
注 册:2020-3-28
结帖率:25%
收藏
已结贴  问题点数:20 回复次数:3 
用VC++6.0编译的时候,下面出现这种情况,是怎么回事,请大神帮帮忙
Compiling...
147671.cpp
c:\program files (x86)\microsoft visual studio\vc98\include\stdio.h(1) : warning C4182: #include nesting level is 363 deep; possible infinite recursion
c:\program files (x86)\microsoft visual studio\vc98\include\stdio.h(1) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
执行 cl.exe 时出错.

142671.exe - 1 error(s), 0 warning(s)
请大神帮帮忙,该怎么解决,程序代码没问题。
搜索更多相关主题的帖子: VC++6.0 编译 出现 include limit 
2020-04-21 10:30
吕孟伟
Rank: 8Rank: 8
等 级:贵宾
威 望:27
帖 子:200
专家分:870
注 册:2018-10-4
收藏
得分:10 
是不是没有写递归的结束条件?还是把代码贴出来较好,才能更好得解决问题。

借用一下侯捷的话:勿在浮沙筑高台。
2020-04-21 10:50
计算机好难啊
Rank: 1
等 级:新手上路
帖 子:33
专家分:8
注 册:2020-3-28
收藏
得分:0 
回复 2楼 吕孟伟
大神,无论我用什么程序,只要一执行下面就会出现
--------------------Configuration: 20204211056 - Win32 Debug--------------------
Compiling...
20204211056.cpp
c:\program files (x86)\microsoft visual studio\vc98\include\stdio.h(1) : warning C4182: #include nesting level is 363 deep; possible infinite recursion
c:\program files (x86)\microsoft visual studio\vc98\include\stdio.h(1) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
执行 cl.exe 时出错.

20204211056.exe - 1 error(s), 0 warning(s)
翻译出来就是
- - - - - - - - - - - - - - - - - - - - - -配置:20204211056 - Win32调试- - - - - - - - - - - - - - - - - - - - -编译…20204211056. cppc:\program files (x86)\microsoft visual studio\vc98\include\stdio.h(1):警告C4182: #include嵌套层深度为363;可能无限递归c:\程序文件(x86)\microsoft visual studio\vc98\包括\stdio.h(1):致命错误C1076:编译器限制:达到内部堆限制;使用/Zm指定更高的限制执行cl.exe时出的错。exe - 1错误,0警告
2020-04-21 11:01
rjsp
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
等 级:版主
威 望:528
帖 子:9007
专家分:53942
注 册:2011-1-18
收藏
得分:10 
你有没有使得头文件互相include?
2020-04-21 11:36
快速回复:用VC++6.0编译的时候,下面出现这种情况,是怎么回事,请大神帮帮忙
数据加载中...
 
   



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

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