代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/329183/12971808
c key.c
#include"key_h.h"
uchar key_test(void)
{ if(key1==0)
return(0xaa);
}
uchar key_scan(void)
{
if(key1==0)
{ delay10ms(500);
if(key1==0);
{ delay10ms(500);
if(key1==0)
{ whi
www.eeworm.com/read/329169/12972672
c 3-3.c
#include
main()
{
int sum=0, i=1;
do
{
sum=sum+i;
i=i+1;
}while(i
www.eeworm.com/read/141818/12983583
txt 035.txt
#include "iostream"
using namespace std;
void main()
{ int i,h=0,j=0,g=0,k=0,count=6,c[7],t[50],p[50];
char A;
coutA;
while(A)
{c[count]=A%2;count--;
A=A/2; }
i
www.eeworm.com/read/242792/12985675
txt 総典c程嶏100事81--90.txt
【程序81】
题目:809*??=800*??+9*??+1 其中??代表的两位数,8*??的结果为两位数,9*??的结果为3位数。求??代表的两位数,及809*??后的结果。
1.程序分析:
2.程序源代码:
output(long b,long i)
{ printf("\n%ld/%ld=809*%ld+%ld",b,i,i,b%i);
}
main()
{long int
www.eeworm.com/read/242767/12987032
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/329030/12988874
c fileutil.c
/*****************************************************************************
FILE NAME: fileutil.c
DESCRIPTION:
This module contains utility functions used in FSM.
Copyright (c
www.eeworm.com/read/141717/12990363
c sereerom.c
//**********************************************************************************
//杨屹 2002/08/20 第一版
//串行flash操作函数(X5045/93LC66B)
//联系方法:gdtyy@ri.gdt.com.cn(2003/07/31以前有效)
//***********
www.eeworm.com/read/141717/12990474
c mystring.c
//**********************************************************************************
//杨屹 2002/08/20 第一版
//字符串操作函数
//联系方法:gdtyy@ri.gdt.com.cn(2003/07/31以前有效)
//******************************
www.eeworm.com/read/141644/12993087
cpp bo4-3.cpp
// bo4-3.cpp 串采用块链存储结构(由c4-3.h定义)的基本操作(16个)
void InitString(LString &T)
{ // 初始化(产生空串)字符串T。另加
T.curlen=0;
T.head=NULL;
T.tail=NULL;
}
Status StrAssign(LString &T,char *chars)
www.eeworm.com/read/141595/12995482
c 16hbsh.c
#include "string.h"
int hbsh(p,n,a,b,m)
int n,*m;
char a[],b[],*p[];
{ int i,j,k;
i=1; j=n;
while (i=0)&&(strcmp(p[k-1