代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/404226/11489805
curry control.curry
void main() {
int a;
bool done;
a = 0;
while (a < 10) {
Print(a, " ");
a = a + 1;
if (a == 5) break;
}
if (a % 2 == 0)
a = 1;
else
done = true;
for (; a
www.eeworm.com/read/404146/11491246
cpp a.cpp
#include
using namespace std;
int A(int m, int n)
{
if(0==m)
return n+1;
if(n==0)
return A(m-1,1);
return A(m-1,A(m,n-1));
}
int B(int m,int n)
{
int a[10000];
i
www.eeworm.com/read/404076/11492018
c testque.c
#include
#include "queue.h"
main( )
{
Queue Q;
int i;
Q = CreateQueue( 12 );
for( i = 0; i < 10; i++ )
Enqueue( i, Q );
while( !IsEmpty( Q ) )
{
p
www.eeworm.com/read/403669/11513191
c serial.c
#include "config.h"
void InitSerial(void)
{
SCON=0x50;
PCON=0x80;
TMOD=TMOD&0x0f;
TMOD=TMOD|0x20;
TH1=0xf3; //com is 4800 b/s
TL1=0xf3;
TR1=1;
ES=1;
EA=1;
www.eeworm.com/read/403647/11513399
cpp 14.cpp
#include "iostream.h"
void main()
{
int *a;
int m,n,i,j,k;
coutm;
coutn;
a=new int[m+1];
for(i=1;i
www.eeworm.com/read/403373/11518474
m dbyd.m
clc;
kk=20;
NN=64;
c1=0.5;c3=2/3;
t=2*pi/c3;
c2=.98;n=1;
Fun1=inline('y2','x','y2');
Fun2=inline('c2*cos(c3*x)-c1*y2-sin(y1)',...
'x','y1','y2','c1','c2','c3');
H=t/NN;
% while
www.eeworm.com/read/403329/11518882
c c1.c
#include
sbit P3_7=P3^7;
sbit P1_0=P1^0;
sbit P1_1=P1^1;
unsigned char t5hz;
unsigned char t7hz;
unsigned int tcnt,hh=0;
bit stop;
bit flag;
void main(void)
{
unsigned
www.eeworm.com/read/403329/11518890
c 复件 (3) c1.c
#include
sbit P3_7=P3^7;
sbit P1_0=P1^0;
sbit P1_1=P1^1;
unsigned char t5hz;
unsigned char t7hz;
unsigned int tcnt,hh=0;
bit stop;
bit flag;
void main(void)
{
unsigned
www.eeworm.com/read/403329/11518916
c 复件 c1.c
#include
sbit P3_7=P3^7;
sbit P1_0=P1^0;
unsigned char t5hz;
unsigned char t7hz;
unsigned int tcnt;
bit stop;
bit flag;
void main(void)
{
unsigned char i,j;
TMOD=0x0
www.eeworm.com/read/403329/11518925
bak c1.c.bak
#include
sbit P3_7=P3^7;
sbit P1_0=P1^0;
unsigned char t5hz;
unsigned char t7hz;
unsigned int tcnt;
bit stop;
bit flag;
void main(void)
{
unsigned char i,j;
TMOD=0x0