有关Corrupted的问题!
我的程序在switch里如下:
unsigned char AAA[26];
AAA[0] = 0x00;
AAA[1] = 0x1B;
AAA[2] = 0x00;
AAA[3] = 0x00;
AAA[4] = 0x01;
for ( int h=0 ; h<23;h++){
AAA[h+5] = BBB[h];
}
BBB已经赋值,程序运行出switch出现对话框,显示如下错误!
Run-Time Check Failure #2 - Stack around the variable 'AAA' was corrupted.
可能什么原因,请赐教!