代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/436999/7757238
c sa2301.c
#include
void main()
{
int i;
int count;
int index;
//while循环例子
printf("while 循环\n");
count = 0;
while (count < 6)
{
printf("The value of count is
www.eeworm.com/read/436663/7766382
m untitled2.m
%模拟退火解决0-1背包问题
clear;
a=[92,4,43,83,84,68,92,82,6,44,32,18,56,83,25,96,70,48,14,58]; %体积
c=[44,46,90,72,91,40,75,35,8,54,78,40,77,15,61,17,75,29,75,63]; %价值
n=length(a);
b=878;
www.eeworm.com/read/436521/7768591
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/436276/7773085
h hal.h
/******************************************************************************
* *
* **********
www.eeworm.com/read/436250/7774102
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/400000/7815925
txt rsa.txt
#include
unsigned f(unsigned *n,unsigned *p,unsigned *q)
{
unsigned x=1,i=0,t=1,*p=2;
while (*p
www.eeworm.com/read/399963/7819136
_shift
#!/bin/sh
while [ "$1" != "" ]; do
echo "$1"
shift
done
exit 0
www.eeworm.com/read/299910/7824341
txt test.txt
void printf(char *format,int argvment);
int main(void)
{
int f;
int g;
f = 3;
g = 2;
while(f != g){
if(f < g) g = g - f;
if(g < f) f = f - g;
}
printf("f
www.eeworm.com/read/399896/7827682
cpp 20052944方国庆.cpp
#include
#include
#include
typedef struct
{
char R;
char r;
int flag;
}array;
typedef struct
{
char E;
char e;
}charLode;
typedef struct
{
charLode
www.eeworm.com/read/399896/7827699
cpp ci.cpp
#include
#include
#include
typedef struct
{
char R;
char r;
int flag;
}array;
typedef struct
{
char E;
char e;
}charLode;
typedef struct
{
charLode