代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/304489/13792681
c xval-prep.c
/*************************************************************************/
/* */
/* Program to prepare data file for cross-validation */
/* ---------------------------------------------
www.eeworm.com/read/304476/13793607
c text1.c
main()
{ int nVar1,nVar2,*pVar,nResult;
nVar1=5;
nVar2=6;
pVar=&nResult; //取地址
*pVar=nVar1*nVar2; //指针运算
while(1);
}
www.eeworm.com/read/304476/13793679
c text1.c
#include
#include
main()
{ int nVar1,nCount;
for(nVar1=0,nCount=1;nCount
www.eeworm.com/read/304476/13793737
c text1.c
int FindMax(int a,int b);
int FindMin(int a,int b);
main()
{ int nVar1,nVar2,nMax,nMin;
nVar1=3;
nVar2=5;
nMax=FindMax(3,5); //调用求最大值函数
nMin=FindMin(3,5); //调用求最小值函数
while(1);
}
int
www.eeworm.com/read/304476/13793749
c text1.c
#include
#include
main()
{ int nMax,nCount;
int nArray[6]={3,2,1,6,5,4}; //数组初始化
for(nMax=nArray[0],nCount=0;nCount
www.eeworm.com/read/304114/13800163
c putchar.c
/***********************************************************************/
/* This file is part of the C51 Compiler package */
/* Copyright KEIL ELEKTRONIK GmbH 1990 - 1999
www.eeworm.com/read/304093/13800804
java flashinggraphics1.java
import java.awt.*;
import java.applet.Applet;
/*
* This applet animates graphics that it generates. This example
* isn't a good one to copy -- it flashes. The next couple of examples
* w
www.eeworm.com/read/303779/13808824
m instfreq.m
function [fnormhat,t]=instfreq(x,t,L,trace);
%INSTFREQ Instantaneous frequency estimation.
% [FNORMHAT,T]=INSTFREQ(X,T,L,TRACE) computes the instantaneous
% frequency of the analytic signal X at time
www.eeworm.com/read/303741/13809884
c key.c
#include
void main()
{
void flashLed(unsigned char cnt); //闪烁函数
void Delay(unsigned char t); //延时函数
flashLed(2); //开机复位后,LED先闪两次,表明单片机正常
start:
while(1)
{
if(P3_2==0
www.eeworm.com/read/303521/13813523
c 闪烁灯.c
#include
sbit L1=P1^0; // 定义输入信号命名
void delays(unsigned s) //延时0.2 秒子程序
{
unsigned char i;
for(s;s>0;s--)
for(i=2000000;i>0;i--);
}
void main(void)
{
while(1)