代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/342220/12034766
m gcpgen1.m
function [u,i,j,df]=GCPgen(e,d,b,n,w,lamda)
u=1+fix(unifrnd(0,n));i=e(u);
while 1
j=1+fix(unifrnd(0,d+1));
if j~=i
break;
end
end
df=0;
for v=1:n
if e(v)==j
www.eeworm.com/read/153391/12036473
c lt21.c
# include "stdio.h"
void main( )
{
int i=1,sum=1,n;
printf("请输入一个非负整数\n");
scanf("%d",&n);
if (n>0)
while(i
www.eeworm.com/read/153391/12036612
c lt33.c
# include "stdio.h"
void main( )
{ int x,a,b,i,n=1;
printf("请输入循环的次数\n");
scanf("%d",&i);
while (nb)
printf("%d",a);
else
printf("%d",b);
x=a+b;
p
www.eeworm.com/read/153385/12037533
cpp nbtheory.cpp
// nbtheory.cpp - written and placed in the public domain by Wei Dai
#include "pch.h"
#include "nbtheory.h"
#include "modarith.h"
#include
#include
NAMESPACE_BEGIN(Crypto
www.eeworm.com/read/342156/12038991
c 跑马灯.c
/*-------------------------------------------*/
/*P0~P3一个灯循环亮且由慢变快*/
#include
#include
unsigned int tc; /*延时变量tc*/
void main()
{
void delay(int t);
www.eeworm.com/read/255904/12046554
txt 13.1.6单片机多机通信.txt
#include
#define uchar unsigned char
#define SLAVE 0x02
#define NUMB 16
uchar idata rbuffer[16]
uchar idata tbuffer[16]={“master transmit”}
void error(void)
{
SBUF=0xff;
whi
www.eeworm.com/read/341877/12056675
c initvars.c
#include
#include
#include
#include
#include
#include
/**** init_globals(fp, names, types, ...)
**
** public domain by Raymond
www.eeworm.com/read/341877/12056727
c xstrcmp.c
/*
** xstrcmp() - compares strings using DOS wildcards
** 'mask' may contain '*' and '?'
** returns 1 if 's' matches 'mask', otherwise 0
** public domain
www.eeworm.com/read/341877/12056741
c roman.c
/*
*
* ROMAN.C - Converts integers to Roman numerals
*
* Written by: Jim Walsh
*
* Compiler : Microsoft QuickC v2.5
*
* This Program Is Relea
www.eeworm.com/read/341877/12056934
c xstrcat.c
/*
** XSTRCAT.C - String concatenation function
**
** Notes: 1st argument must be a buffer large enough to contain the
** concatenated strings.
**
** 2nd thru nth arguments are