代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/337844/12337022
cpp 1003_other2.cpp
//accepted
//by just for play
#include
int can;
int test(long a,long b,int c){
if(b==1) can=1;
if(a==1&&b==1) return 1;
if(c>100) return 0;
while(a%c!=0&&b%c!=0&&c
www.eeworm.com/read/251499/12340866
c delay_1ms(uint x).c
/*==============================
延时程序函数
晶振:11.0592
文件名:Delay_1mS(uint x).c
===============================*/
#include
#define uchar unsigned char
#define uint unsigned
www.eeworm.com/read/251182/12359509
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/149587/12364196
c delay.c
#include//全部为12MHz晶振
#include
//************************1ms延时*************************************//
void delayx1ms(Word count)
{Word i,j;
for(i=0;i
www.eeworm.com/read/337471/12366791
c motor.c
//#include
#include "ZLG7289.h"
#include "ZLG7289.c"
volatile unsigned char Key = 0xFF;
void Delay(unsigned int t)
{
do
{
TH0 = 0xDC;
TL0 = 0x00;
TR0 = 1;
while ( !TF0 );//等待定时器中
www.eeworm.com/read/149532/12367468
cpp bwfind.cpp
// Bwfind.cpp: implementation of the CBwfind class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "bw.h"
#include "Bwfind.h"
#ifdef _
www.eeworm.com/read/337458/12367656
cpp pc.cpp
// PL0 Compiler
#include
#include
#include
#include
#include "pl0.h"
void main(int argc,char *argv[])
{
char filename[256];
printf("pl/0 compil
www.eeworm.com/read/251036/12368591
c utils.c
#include "def.h"
extern int SerialRxReady(void);
extern char SerialRxKey(void);
unsigned short ntohs(unsigned short s)
{
return (s >> 8) | (s
www.eeworm.com/read/250895/12378738
c main.c
#include "cpu_reg.h"
int ms,f;
unsigned int *ExRamStart = (unsigned int *)0x4000;
void main()
{
int i;
asm(" STM #0000h,CLKMD ");
while(*CLKMD & 0x01 );
asm("
www.eeworm.com/read/250880/12380513
c 1.c
#include
#define N 50
main()
{
int M[N],G[N],a[6];
int i,m,k;
printf("请输入六位的G(X)(=6):");
for(i=0;i