void CTestWinDlg::Fun2(char *pszBuffer,int i)
{
CString str2;
str2.Format(_T("this is fun2"));
UINT b[5]={0};
for(int j=0;j<=12;j++)
{
b[j]=j;
}
Fun3(pszBuffer,i);
}
void CTestWinDlg::Fun3(char *pszBuffer,int i)
{
CString str3;
str3.Format(_T("this is fun3"));
UINT a[10]={0};
for(int j=0;j<=10;j++)
{
a[j]=j;
}
//pszBuffer[1] = 0x00;
}
程序为什么只在Func3的地方报错,而Func2则能正常运行呢?