这么多人那
真厉害
----------------解决方案--------------------------------------------------------
因为stdio.h是默认包含的,puts、printf等函数也是属于build-in的。
再说一点,TC能编译通过不能说明问题。
----------------解决方案--------------------------------------------------------
怎么没想到宏呢,
看来宏用的太少了。
----------------解决方案--------------------------------------------------------
第3题
int s()
{static int i=-10;
i+=10;
return i;
}
----------------解决方案--------------------------------------------------------
好像多了个括号替换一下
#define s s()
int s
{static int i=-10;
i+=10;
return i;
}
真厉害
----------------解决方案--------------------------------------------------------
[bo]以下是引用 [un]永夜的极光[/un] 在 2008-3-11 18:53 的发言:[/bo]
突然想想,puts也是在stdio.h里面定义的,应该也没有了才对呀,怎么TC还能测试通过呢?
突然想想,puts也是在stdio.h里面定义的,应该也没有了才对呀,怎么TC还能测试通过呢?
因为stdio.h是默认包含的,puts、printf等函数也是属于build-in的。
再说一点,TC能编译通过不能说明问题。
----------------解决方案--------------------------------------------------------
怎么没想到宏呢,
看来宏用的太少了。
----------------解决方案--------------------------------------------------------
第3题
int s()
{static int i=-10;
i+=10;
return i;
}
----------------解决方案--------------------------------------------------------
好像多了个括号替换一下
#define s s()
int s
{static int i=-10;
i+=10;
return i;
}
How are you 怎么是你?
How old are you 怎么老是你?