Run-Time Check Failure #2 - Stack around the variable ‘xxx‘ was corrupted 的解决方法
Run-Time Check Failure #2 - Stack around the variable ‘xxx’ was corrupted 的解决方法
Run-Time Check Failure #2 - Stack around the variable ” was corrupte
意思我们的程序中,在某个变量附近的内存被破坏了,如果出现此类问题,一般表示我们的程序存在内存越界。
解决方法:
假如你的这块程序中,有数组操作,不妨先屏蔽掉,看是否还会出现此类问题。
然后,再仔细做类型检查咯。
转载
2020-12-12 15:20:30 ·
3917 阅读 ·
1 评论