谁来帮我下啊按照书里代码输入但还是提示错误
程序代码:main()
{
int i,t;
t=1;
i=2;
while(i<=5)
{t=t*i;
i=i+1;
}
printf("%d",t);
}编译的时候提示错误ERROR: printf should have a prototype
怎么回事啊?
[ 本帖最后由 mygameoh 于 2010-7-9 00:50 编辑 ]









