代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/382395/9031737
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/283196/9036618
_shift
#!/bin/sh
while [ "$1" != "" ]; do
echo "$1"
shift
done
exit 0
www.eeworm.com/read/184914/9065952
pl0 test.pl0
/* Test.PL0 */
Program abc;
Integer x,y,z;
Real a,b;
Procedure ab(Var m,n:Integer;t:Real);
Begin
t:=n+m;
If m>n then n:=m else t:=m;
While n
www.eeworm.com/read/282754/9069388
c gzfile.c
/*
* gzfile 0.3
*
* Copyright (C) 2006 Jan Bobrowski
*
* This library is free software; you can redistribute and modify
* it under the terms of the GNU Lesser General Pu
www.eeworm.com/read/184795/9075085
cpp paren.cpp
#include
using namespace std;
void main()
{
ifstream in("prog.cpp");
ofstream out("output.txt");
char str[1024],c;
long b[4],e[4],i;
for(i=0;i
www.eeworm.com/read/184793/9075150
txt josephus小孩围圈问题.txt
//处理获胜前的小孩
while(1)
{
//在圈中数interveal个小孩
for(int j=0;j
www.eeworm.com/read/184710/9084511
#3 trasmit.#3
void trbyte(char a)
{;
IE=0;
SBUF0=a;
while (!TI0)
{ };
TI0=0;
}
void trstring(char *a)
{
for( ;*a!='\0';a++)
trbyte(*a);
}
www.eeworm.com/read/381295/9099396
c 数字时钟.c
#include
unsigned char code ledp[4]={0xf1,0xf2,0xf4,0xf8};//{0x1f,0x2f,0x4f,0x8f};//
unsigned char code ledp1[10]={0x81,0xf3,0x49,0x61,0x33,0x25,0x05,0xf1,0x01,0x21};
unsigned char co
www.eeworm.com/read/282274/9107538
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/184327/9109812
pas ac1082.pas
program tju1082;
const
maxn=30000;
zero=1e-6;
type
dot=record x,y:longint;end;
var
d:array[1..maxn]of dot;
n,i,j,l,m:longint;
td:dot;
ans:extended;
function cross(a,b,c,d:dot)