代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/195591/8139847
aspx demo-while.aspx
void Page_load()
{
// demo of modulo where every third try displays an encouraging message
Random objRandom = new R
www.eeworm.com/read/245818/12779370
c do_while.c
/* do_while.c -- exit condition loop */
#include
int main(void)
{
const int secret_code = 13;
int code_entered;
do
{
printf("To enter the triskaidekapho
www.eeworm.com/read/245818/12779426
c while1.c
/* while1.c -- watch your braces */
/* bad coding creates an infinite loop */
#include
int main(void)
{
int n = 0;
while (n < 3)
printf("n is %d\n", n);
www.eeworm.com/read/245818/12779440
c while2.c
/* while2.c -- watch your semicolons */
#include
int main(void)
{
int n = 0;
while (n++ < 3); /* line 7 */
printf("n is %d\n", n); /* line 8 */
prin
www.eeworm.com/read/328803/13001252
asm do_while.asm
;int main()
;{
; int i = 5;
; do
; i--;
; while( i );
; return 0;
;}
_data segment
_data ends
_text segment
assume cs:_text ,ds:_data
main proc far
start:
push ds
xor ax, a
www.eeworm.com/read/327636/13069257
cpp while2.cpp
#include
void main()
{
char ch;
while ((ch=getchar()) != EOF)
{
putchar(ch);
}
}
www.eeworm.com/read/327636/13069259
cpp while4.cpp
#include
void main()
{
int i,sum=0;
scanf("%d",&i);
while(i
www.eeworm.com/read/327636/13069286
cpp do..while.cpp
#include
void Main()
/*{int sum=0 ,i;
scanf("%d",&i);
while(i