代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/120853/14785599
dat codetc3.dat
do-<mark>while</mark> 语句
功能:先执行循环体,然后判断循环条件是否成立。
形式:do
循环体语句
<mark>while</mark>(表达式)
说明:它是这样执行的,先执行一次指定的循环体语句,然后判别表达式,当表达式的值为非零("真")时,返回重新执行循环体语句,如此反复,直到表达式的值等于0("假")为止,此时循环结束。
例题:利用do ...
www.eeworm.com/read/105882/15656311
sl loops.sl
_debug_info = 1; () = evalfile ("inc.sl");
print ("Testing looping constructs ...");
define identity (x)
{
return x;
}
define test_do_while (count_fun)
{
variable i = 0;
variable count = 0
www.eeworm.com/read/292231/8366410
c break_test.c
void main()
{
int i;
while( 1 ) {
if( i ) continue;
break;
}
}
www.eeworm.com/read/291040/8444039
c break_test.c
void main()
{
int i;
while( 1 ) {
if( i ) continue;
break;
}
}
www.eeworm.com/read/390079/8486960
cmm test.cmm
int r = 45;
while(a < 54) {
write(a+b,c+d);
if (a > 5) {
a = a + 1;
}
}