代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/421492/10735134
c send.c
/**************先发0xaa,再发0-F笔段码(要发奇偶检验位TB8),然后发和检验字节********************/
#include"reg52.h"
#define uchar unsigned char
uchar seg[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0x88,
0x
www.eeworm.com/read/350382/10745834
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/276309/10748874
c 0_to_100.c
#include
void main ()
{
int value = 0;
while (value
www.eeworm.com/read/276309/10748912
c no_cont.c
#include
void main()
{
int counter;
printf("\nEven values\n");
for (counter = 1; counter
www.eeworm.com/read/276309/10748983
c chrcnt.c
int chrcnt(const char *string, int letter)
{
int count = 0;
while (*string)
if (*string == letter)
count++;
return(count);
}
www.eeworm.com/read/421102/10754867
c u1.c
#include
//初始化串行口
void csh()
{
SM0=0;
SM1=1;
REN=1;
TI=0;
RI=0;
PCON=0;
TH1=0xF3;
TL1=0XF3;
TMOD=0X20;
EA=1;
ET1=0;
ES=1;
TR1=1;
}
void main()
{
int
www.eeworm.com/read/276181/10758323
c 16进制10进制.c
自己写一个转换函数不就行了?
//返回16进制字符串s对应的整数值,遇到任何一个非法字符都返回-1。
int HexToDec(char *s)
{
char *p = s;
//空串返回0。
if(*p == '\0')
return 0;
//忽略开头的'0'字符
while(*p == '0')
p++;
int dec = 0;
www.eeworm.com/read/276181/10758620
c 杨辉三角形.c
#include
int c(x,y);
main()
{
int i,j,n=13;
printf("N=");
while(n>12)
scanf("%d",&n);
for(i=0;i
www.eeworm.com/read/276181/10758622
c 桶排序.c
#include
void comp(int k[],int m,int l)
{
int i=10,j=0,z=1,y=1,x,w,b[500][10];
for(w=0;w
www.eeworm.com/read/276161/10759102
c 111.c
#include "stdio.h"
#include "string.h" ; 语法分析
char prog[100],token[8],ch;
char *rwtab[6]={"begin","if","then","while","do","end"};
int syn,p,m,n,sum;
int kk;
factor();
expression();
yucu();