代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/124642/14555665
c 8_5_array.c
#include
//#include
int colToRow(int k,int n) /*函数,由按列优先存储下标为k的元素,求其按行优先存储的下标*/
{
int i = k,j = 0;
while (i>j) i -= ++j;
return i*n+j-i*(i+1)/2;
}
/*函数,上三角阵一维
www.eeworm.com/read/124641/14555738
c 5_5.c
# include
main()
{
int year,leap;
printf("请输入一个年份,输入0结束");
scanf("%d",&year);
do {
if ((year%4==0 && year%100!=0) || (year%400==0)) leap = 1;
else leap = 0;
if(leap == 1
www.eeworm.com/read/225069/14556315
c 1.c
#include
#define uchar unsigned char
#define uint unsigned int
sbit flag=P1^0;
uchar TAB=0x5a;
void delayms(uint i)
{ uchar j;
while(i--)
for(j=0;j
www.eeworm.com/read/225068/14556382
c text1.c
/***************************************************************************************/
// 程序名:
//功能描述:通过P1口控制LED灯从左到右轮流点亮
//调用函数:delay()
//输入:无
//返回:无
//设计者: 日期:
//修改者: 日期:
//版本:
/******
www.eeworm.com/read/224631/14579492
c dingshi.c
/*********************************************************************/
//
// 定时
// ancleyan 2007.04.23
/********************************
www.eeworm.com/read/224631/14579500
lst dingshi.lst
C51 COMPILER V7.09 DINGSHI 04/24/2007 21:33:45 PAGE 1
C51 COMPILER V7.09, COMPILATION OF MODULE DINGSHI
OBJECT MODULE PLACED IN
www.eeworm.com/read/224618/14579932
lst 复件 mm.lst
C51 COMPILER V7.09 复件_MM 04/24/2007 08:06:41 PAGE 1
C51 COMPILER V7.09, COMPILATION OF MODULE 复件_MM
OBJECT MODULE PLACED IN 复件
www.eeworm.com/read/124245/14584441
c misc.c
/* **************************************************** */
/* file misc.c: contains pattern manipulation routines */
/* and miscellaneous other functions. */
/*
www.eeworm.com/read/124245/14584468
c bp.c
/* ************************************************** */
/* file bp.c: contains the main program and network */
/* creation routines. */
/*
www.eeworm.com/read/124189/14590709
c strcat.c
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
/* $Header: strcat.c,v 1.2 90/05