由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - wierd problem
相关主题
发个初级面试题C++ 什么时候用 "new" ?
一个诡异的const_cast问题heap 和 stack问题
C语言的变量都一定要放在stack上吗?再问C++初始化问题。
来几个C++测试题Heap corruption (转载)
请教什么时候变量会被load进stack,什么时候进入heap呢?STL堆操作怎样对堆顶元素做ShiftDown?
问两个C++面世小问题不如各位高手挑个专题讲讲C++11吧
static 变量放在哪里?C++java 真不适合12306一类的网站
[合集] 谁给个stack-based allocation 的C++的例子?Java真的不能disable GC么?
相关话题的讨论汇总
话题: vc话题: exception话题: wierd话题: debug话题: now
进入Programming版参与讨论
1 (共1页)
w****g
发帖数: 44
1
I have a program (example.exe) built in VC.
Now I run it in the cmd terminal: example.exe arg1, arg2, arg3
it works fine.
Then I just run it in VC using debug (F5), it said windows has trigged a
break point in example.exe
then continue, it said debug assertation failed.
the output window has such info:
First-chance exception at 0x770bb09e in example.exe: Microsoft C++ exception
HEAP[example.exe]: Invalid Address specified to RtlValidateHeap( 03010000,
030C5D50 )
any idea ? why this happen and ho
k****f
发帖数: 3794
2
内存错误了

exception

【在 w****g 的大作中提到】
: I have a program (example.exe) built in VC.
: Now I run it in the cmd terminal: example.exe arg1, arg2, arg3
: it works fine.
: Then I just run it in VC using debug (F5), it said windows has trigged a
: break point in example.exe
: then continue, it said debug assertation failed.
: the output window has such info:
: First-chance exception at 0x770bb09e in example.exe: Microsoft C++ exception
: HEAP[example.exe]: Invalid Address specified to RtlValidateHeap( 03010000,
: 030C5D50 )

w****g
发帖数: 44
3
thanks. now it works. I forgot to put the input file in the right directory.
1 (共1页)
进入Programming版参与讨论
相关主题
Java真的不能disable GC么?请教什么时候变量会被load进stack,什么时候进入heap呢?
谁能示范一个小的C程序问两个C++面世小问题
这二个在C++中有区别不?static 变量放在哪里?C++
A C++ STL question[合集] 谁给个stack-based allocation 的C++的例子?
发个初级面试题C++ 什么时候用 "new" ?
一个诡异的const_cast问题heap 和 stack问题
C语言的变量都一定要放在stack上吗?再问C++初始化问题。
来几个C++测试题Heap corruption (转载)
相关话题的讨论汇总
话题: vc话题: exception话题: wierd话题: debug话题: now