64,654
社区成员
发帖
与我相关
我的任务
分享
#include "stdafx.h"
#include <assert.h>
int _tmain(int argc, _TCHAR* argv[])
{
int a,b;
scanf("%d %d",&a,&b);
assert(NULL);
printf("a+b=%d",a+b);
return 0;
}
提示,在第12行,遇到异常[/quote
当然,信息提示的12行,是在我的编译器中的显示位置,按照贴出的代码看,对应第9行#include "stdafx.h"
#include <assert.h>
int _tmain(int argc, _TCHAR* argv[])
{
int a,b;
scanf("%d %d",&a,&b);
assert(NULL);
printf("a+b=%d",a+b);
return 0;
}