69,336
社区成员
发帖
与我相关
我的任务
分享
Function ()
{
char error_str[STR_SIZE]={0};
do
{
memset(error_str,'\0',sizeof(error_str));//第一次执行这里没问题,但是执行 GetDataFromTxt 之后,再到这里就报错(Unhandled XXXXXXXX)
sprintf(error_str,"XXXXXXXXXXXXXX.Error Code:%d",count);
GetDataFromTxt();//执行这里之后,error_str的值被改变
}
while(1)
}
memset(error_str,'\0',STR_SIZE);
char error_str[STR_SIZE]={‘0’};