错误:stack around the variable “XX” was corrupted.,中文翻译就是“在变量XX周围的堆栈已损坏”。
解决方案:把 project->配置属性->c/c++->代码生成->基本运行时检查 为 默认值 就不会报本异常。具体原因正在研究中。。。 如果改为其他就有exception。
参考
1.Run-Time Check Failure #2 - Stack around the variable ‘a’ was corrupted 解决方法
2.关于stack around the variable “” was corrupted问题