代码搜索:while

找到约 10,000 项符合「while」的源代码

代码结果 10,000
www.eeworm.com/read/446296/7581646

cpp water.cpp

#include #define LONG 100 int n,m; int high[LONG]={0},high2[LONG]={0},pip[LONG]={0}; int v[LONG][LONG]={0}; int i,a,r; int s,l=0; //--------------------------------------------------
www.eeworm.com/read/445950/7587701

c fstreql.c

int fstreql(char far *str1, char far *str2) { while ((*str1 == *str2) && (*str1)) { str1++; str2++; } return((*str1 == NULL) && (*str2 == NULL)); }
www.eeworm.com/read/444799/7606416

c fact_itr.c

/* ** Compute the factorial of n, iteratively */ long factorial( int n ) { int result = 1; while( n > 1 ){ result *= n; n -= 1; } return result; }
www.eeworm.com/read/444092/7618040

txt 1.txt

#include #include #include #define MAX 50 void main() { FILE *in,*out;/*存放输入字符串和输出单词串的文件*/ char arr[MAX];/*arr数组存放单词符号*/ char currentchar;/*currentchar存放当前输入字符*/ in
www.eeworm.com/read/444091/7618160

c fact_itr.c

/* ** Compute the factorial of n, iteratively */ long factorial( int n ) { int result = 1; while( n > 1 ){ result *= n; n -= 1; } return result; }
www.eeworm.com/read/444021/7619229

cpp 2818.cpp

#include #include using namespace std; int tag[202][4]; int yuan[202]; int xunhuan[202][202]; string mubiao; string cc; char c; int fenpei(int n) { int i,j,k; for(i=1;;
www.eeworm.com/read/443896/7620839

cpp cpp2.cpp

# include "stdio.h" void main() { loop: int t=0,x=0,k=0,y=0,i=0,m=0; int n; printf("请输入要判断的数"); scanf("%d",&x);//验证的数 printf("请输入要整除的数"); scanf("%d",&y);//K为整除的数 for(i=-9;i
www.eeworm.com/read/443457/7632509

cpp 1333.cpp

#include #include int prime[10001]; int isprime(int n){ int t=sqrt(1.0*n); for(int i=2;i
www.eeworm.com/read/443457/7632525

cpp 2042.cpp

#include void main() { int n,a,k,i,s; scanf("%d",&n); k=0; while(k
www.eeworm.com/read/443457/7632530

cpp 2107.cpp

#include int main() { int a[100],n,k,max; while(scanf("%d",&n)!=EOF){ if(n==0) return 0; for(k=0;k