代码搜索:while

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

代码结果 10,000
www.eeworm.com/read/447019/7560471

t prog0.t

{ int i; int j; float v; float x; float[100] a; while( true ) { do i = i+1; while( a[i] < v); do j = j-1; while( a[j] > v); if( i >= j ) break; x = a[i]; a[i] = a[j]; a[j] = x; } }
www.eeworm.com/read/447019/7560497

t identity.t

{ int i; int j; float[10][10] a; i = 0; while ( i < 10 ) { j = 0; while ( j < 10 ) { a[i][j] = 0.0; j = j + 1; } i = i + 1; } i = 0; while ( i < 10 ) { a[i][i] = 1.0; i = i + 1
www.eeworm.com/read/446006/7586868

py listing11-6.py

f = open(filename) char = f.read(1) while char: process(char) char = f.read(1) f.close()
www.eeworm.com/read/443457/7632811

cpp 1290.cpp

#include main(){int n;while(scanf("%d",&n)==1)printf("%d\n",(n*n*n+5*n+6)/6);}
www.eeworm.com/read/443342/7634326

m ex0108.m

function ex0108() n = 1; a=[9 2 4 3 5 6 8 0]; min=inf; while n
www.eeworm.com/read/443126/7637164

java mystery3.java

public class Mystery3 { public static void main( String args[] ) { int row = 10; int column; while ( row >= 1 ) { column = 1; while ( col
www.eeworm.com/read/443126/7637203

java whilecounter.java

// Fig. 5.1: WhileCounter.java // Counter-controlled repetition with the while repetition statement. public class WhileCounter { public static void main( String args[] ) {
www.eeworm.com/read/443126/7637221

java dowhiletest.java

// Fig. 5.7: DoWhileTest.java // do...while repetition statement. public class DoWhileTest { public static void main( String args[] ) { int counter = 1; // initialize counter
www.eeworm.com/read/442831/7643914

c 16rsech.c

int rsech(p,k,m,a,b) STRU p[]; double a,b; int k,m; { int i; i=k; while ((im) return(-1); return(i); }
www.eeworm.com/read/442831/7643932

c 16ibkey.c

int ibkey(p,n,a,b,m) int n,*m; BISERCH *p[]; int a,b; { int i,j,k; i=1; j=n; while (i=a)&&((*p[k-1]).KEY