Run-Time Check Failure #2 - Stack around the variable 'xxx' was corrupted

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

猜你喜欢

转载自blog.csdn.net/s09094031/article/details/77936649