愚蠢呐,说我自己呐void sb(){
if(我稍有理智)
return 不值得;
else
return sb;
}
the sad thing is the first statement is seldom tru. thus, i am trapped in the function named sb almost endlessly...........
any kind soul can help me figure it out?
[verysilly (4-11 3:03, Long long ago)]
[ 传统版 |
sForum ][登录后回复]1楼
Add a break statement in your endless loopFind someone who can make you wanna have some 理智 and some responsibility, then you can jump out of this infinite loop.
[江南渔夫 (4-11 3:06, Long long ago)]
[ 传统版 |
sForum ][登录后回复]2楼
should "return sb();"[simon (4-11 3:56, Long long ago)] [ 传统版 | sForum ][登录后回复]3楼
ya huh, got syntax error, man?=P[lila (4-11 5:57, Long long ago)] [ 传统版 | sForum ][登录后回复]4楼
恩, 语言还不过关[贝佳斯代言人 (4-11 10:51, Long long ago)] [ 传统版 | sForum ][登录后回复]5楼
(引用 lila:ya huh, got syntax error, man?=P)恩, 语言还不过关[贝佳斯代言人 (4-11 10:51, Long long ago)] [ 传统版 | sForum ][登录后回复]6楼
well, without any arguments passed init seems i should never get into it. then why do i bother?... hmm, i am fine liaoz. thanks to everyone =)[verysilly (4-11 12:26, Long long ago)] [ 传统版 | sForum ][登录后回复]7楼
(引用 贝佳斯代言人:恩, 语言还不过关)void function has no return value. ^O^[小乌鸦 (4-11 13:16, Long long ago)] [ 传统版 | sForum ][登录后回复]8楼