代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/242081/7073140
cpp 1382.cpp
#include
int main()
{
int i,d,num[10],m[10][2],o,p,mid;
scanf("%d",&d);
for(i=0;i
www.eeworm.com/read/242081/7073149
cpp 1365.cpp
#include
int main()
{
int b,sum;
char str[2][100],ch,dh;
scanf("%s",str[0]);
while(strcmp(str[0],"#")!=0)
{ sum=0;
while(strcmp(str[0],"0")!=0)
www.eeworm.com/read/242081/7073152
cpp 1115.cpp
#include
#include
using namespace std;
int main()
{
char ch[1000];
int sum,n[1000],m,i,t,s;
while(cin>>ch&&*ch!='0')
{ sum=0;s=0;
m=strlen(ch);
www.eeworm.com/read/242081/7073161
cpp 2109.cpp
/*2109*/
#include
int print(int m,int n)
{
int a[n][2],i,j,w,sum0=0,sum=0;
float b[n],max,res=0;
for(i=0;i
www.eeworm.com/read/221007/7074543
m ex3_11.m
sum=0;
cnt=0;
val=input('Enter a number (end in 0):');
while (val~=0)
sum=sum+val;
cnt=cnt+1;
val=input('Enter a number (end in 0):');
end
if (cnt > 0)
sum
mean=sum/cn
www.eeworm.com/read/316861/7085776
c fork_3.c
1、
#include
main( )
{
int p1,p2;
while((p1=fork( ))= = -1); /*创建子进程p1*/
if (p1= =0) putchar('b');
else
www.eeworm.com/read/285001/7087094
txt token.txt
program
var
procedure
begin
end
if
then
else
while
do
call
integer
real
+
-
*
/
~
/*
*/
<
>=
=
:=
;
.
,
(
)
:
www.eeworm.com/read/156879/7089154
c topc.c
#include
#define uchar unsigned char
#define uint unsigned int
#define num 1
uchar idata buf[num];
void init(void)
{ TMOD=0x20;
TH1=0xf3;
TL1=0xf3;
PCON=0x80;
TR1=1;
S
www.eeworm.com/read/310274/7097842
c flashled.c
#include
#define BYTE unsigned char
#define WORD unsigned int
sbit LED1=P1^0;
sbit LED2=P1^1;
sbit LED3=P1^2;
sbit LED4=P1^3;
sbit LED5=P1^4;
sbit LED6=P1^5;
sbit LED7=P1^6;
sb
www.eeworm.com/read/310274/7097848
bak flashled.c.bak
#include
#define BYTE unsigned char
#define WORD unsigned int
sbit LED1=P1^0;
sbit LED2=P1^1;
sbit LED3=P1^2;
sbit LED4=P1^3;
sbit LED5=P1^4;
sbit LED6=P1^5;
sbit LED7=P1^6;
sb