代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/283598/9002463
txt 经典c程序100例==11--20.txt
经典c程序100例==11--20
--------------------------------------------------------------------------------
第八军团 时间:2003-12-18 15:44:07
【程序11】
题目:古典问题:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第三个月
后
www.eeworm.com/read/426733/9002998
h hal.h
/*
V0.1 Initial Release 10/July/2006 RBR
*/
/*
Original hal.h file from Chipcon for CC2430 modified to include
only the functions needed by this stack and test code
*/
/*******
www.eeworm.com/read/283541/9010149
cpp graph3.cpp
//图的运算的实现文件graph3.cpp
#include"graph3.h"
//构造函数,初始化图的邻接矩阵与边集数组
adjMList::adjMList(RCW GE[],int n,int e)
{int i,j;
for(i=0; i
www.eeworm.com/read/382584/9019619
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/283405/9022383
c ssp.c
/*****************************************************************************
* ssp.c: SSP C file for Philips LPC214x Family Microprocessors
*
* Copyright(C) 2006, Philips Semiconductor
www.eeworm.com/read/382449/9026924
c 00-99 count.c
#include
unsigned char code table[]={0x3f,0x06,0x5b,0x4f,0x66,
0x6d,0x7d,0x07,0x7f,0x6f};
unsigned char Count;
void delay10ms(void)
{
unsigned
www.eeworm.com/read/382449/9027078
c state.c
#include
void main(void)
{
while(1)
{
if(P1_4==0)
{
P1_0=0;
}
else
{
P1_0=1;
}
www.eeworm.com/read/382449/9027721
c 4x4keyboard.c
#include
unsigned char code table[]={0x3f,0x06,0x5b,0x4f,
0x66,0x6d,0x7d,0x07,
0x7f,0x6f,0x77,0x7c,
www.eeworm.com/read/382449/9027800
c 4bit-count.c
#include
unsigned char curcount;
void delay10ms(void)
{
unsigned char i,j;
for(i=20;i>0;i--)
for(j=248;j>0;j--);
}
void main(void)
{
curcount=P3