代码搜索:while

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

代码结果 10,000
www.eeworm.com/read/180601/9301337

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/376654/9310749

c 小猴摘桃.c

#include main() { int day,x1,x2; day=9; x2=1; while(day>0) { x1=(x2+1)*2; x2=x1; day--; } printf("total=%d",x1); }
www.eeworm.com/read/376636/9311289

txt test_complex.txt

if a>8+3*d+6 | 3>4 & e
www.eeworm.com/read/376627/9311605

c re.c

#include main() { int n,s,j,k,p; int a[100];//最多允许100人 printf("请输入人数:"); scanf("%d",&n); printf("请输入数字:"); scanf("%d",&s); for(j=0;j
www.eeworm.com/read/376627/9311628

c 十五人排序.c

/*原题: 一寝室有15个人,每天都要三人一行外出散步一次,要在一周 (7天)内 每个人都跟其他14人各散步一次,问每一天应该怎么安排?? 要快点想哟!!!! 都等一会15分钟*/ #include int anpai[7][5][3]; int biaozhi[16][16]; int i=0,j=0,k=0,a,total=0; void hui
www.eeworm.com/read/376627/9311655

c 平方根.c

#define Epsilon 1.0E-6 /*控制解的精度*/ #include #include main() { float num,pre,this; do { scanf("%f",&num);/*输入要求平方根的数*/ }while(num
www.eeworm.com/read/180141/9318382

c 8-2-6.c

/*中国系统分析员顾问团,http://www.csai.cn*/ /*程序员下午考试指南书籍源码*/ #include #define MAXN 10 divisor( int n ,int m ,int d[] ,int dn ){ int s,p,t,b[MAXN]; for ( s=0;sn;s++ ); p=0; b[0
www.eeworm.com/read/180141/9318385

c 8-2-2.c

/*中国系统分析员顾问团,http://www.csai.cn*/ /*程序员下午考试指南书籍源码*/ #include #include #define n 30 long tn[n],td[n],score[n+1][10],order[n]; char s[80]; int mark[]={15,12,9,7,6,5,4,3,2,1}
www.eeworm.com/read/180141/9318457

c 8-2-10.c

/*中国系统分析员顾问团,http://www.csai.cn*/ /*程序员下午考试指南书籍源码*/ #include #define N 6 int A,B,C,D,E,F; int *pt[ ] = {&A,&B,&C,&D,&E,&F}; main( ) { int b[N+1], j, k, c=0; /* c为找到的解的计数器 */
www.eeworm.com/read/179954/9329047

cpp charcat1.cpp

/* The following code example is taken from the book * "The C++ Standard Library - A Tutorial and Reference" * by Nicolai M. Josuttis, Addison-Wesley, 1999 * * (C) Copyright Nicolai M. Josutti