IT/Visual Studio
Run-Time Check Failure #2 - Stack around the variable ~~ was corrupted
mynotepad1
2009. 6. 26. 22:21
Run-Time Check Failure #2 - Stack around the variable 'abc' was corrupted.
변수 abc 의 크기 이상을 요구하는 계산시에 뜨는 런타임 오류임.
디버깅시 런타임 오류로 위와같은 메세지가 뜰 경우에는
something이라는 변수의 type을 Resize해주면 된다.
ex) long abc --> long long abc