代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/127743/14338191
c l.c
main()
{int i,n,n2,n3,sum=0;
clrscr();
printf("Input a int:");
scanf("%d",&n);
n3=n*n*n;
printf("n^3=%d\n",n3);
n2=n*(n+1)-1;
while(n2>=n)
{for(i=n2,sum=0;i>n2-n*2;i-=2)
sum=s
www.eeworm.com/read/127696/14340044
c sh102.c
#include
#define uint unsigned int
sbit gate1=P2^0; // 定义P2-0口
sbit gate2=P2^1; // 定义P2-1口
sbit gate3=P2^2; // 定义P2-2口
sbit gate4=P2^3; // 定义P2-3口
void main(v
www.eeworm.com/read/127696/14340050
c sh101.c
#include
sbit gate=P2^0; // 定义P2-0口
void main(void)
{
unsigned int i,j;
while(1)
{
for(i=1000;i>0;i--)
for(j=1000;j>0;j--); // 双重循环,延时约1秒
gate=!gate; // 对P-0口取反,控制小灯的
www.eeworm.com/read/127668/14341971
c cc2.c
/*
** Small-C Compiler -- Part 2 -- Front End and Miscellaneous.
** Copyright 1982, 1983, 1985, 1988 J. E. Hendrix
** All rights reserved.
*/
#include
#include "cc.h"
extern char
www.eeworm.com/read/127668/14341980
bak cc1.bak
/*
** Small-C Compiler -- Part 1 -- Top End.
** Copyright 1982, 1983, 1985, 1988 J. E. Hendrix
** All rights reserved.
*/
#include
#include "notice.h"
#include "cc.h"
/*
** mis
www.eeworm.com/read/127668/14341985
arc clib.arc
>>> CLIB.H 1617
/*
** CLIB.H -- Definitions for Small-C library functions.
**
** Copyright 1983 L. E. Payne and J. E. Hendrix
*/
/*
** Misc parameters
*/
#define MAXFILES 20 /* maximum op
www.eeworm.com/read/229323/14345385
c 44blib.c
#include "44b.h"
#include "44blib.h"
#include "def.h"
#include "option.h"
#include
#include
#include
#include
#include
#define STA
www.eeworm.com/read/229322/14345422
c 44blib.c
#include "44b.h"
#include "44blib.h"
#include "def.h"
#include "option.h"
#include
#include
#include
#include
#include
#define STA
www.eeworm.com/read/127587/14348319
c mystring.c
//**********************************************************************************
//杨屹 2002/08/20 第一版
//字符串操作函数
//联系方法:gdtyy@ri.gdt.com.cn(2003/07/31以前有效)
//******************************
www.eeworm.com/read/229191/14349808
c 44blib.c
#include "44b.h"
#include "44blib.h"
#include "def.h"
#include "option.h"
#include
#include
#include
#include
#include
#define STACKSI