Run-Time Check Failure #2 - Stack around the variable 'a' was corrupted 解决方法
一、数据越界vc++2008调试过程说:Run-TimeCheckFailure#2-Stackaroundthevariable'a'wascorrupted.下面为被调试程序(我的目的是输出10个数中最大的数)#include"stdafx.h"#include"stdio.h"voidmain(){inta[10];inti,j,t;for(i=1;ia[i+1]){t=a[i];a[i]=