代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/449694/7497948
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/449694/7498071
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/449694/7498072
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/449648/7499175
c 2410lib.c
//===================================================================
// File Name : 2410lib.c
// Function : S3C2410 PLL,Uart, LED, Port Init
// Program : Shin, On Pil (SOP)
// Date : Marc
www.eeworm.com/read/449530/7501195
c hiding.c
/* hiding.c -- variables in blocks */
#include
int main()
{
int x = 30; /* original x */
printf("x in outer block: %d\n", x);
{
int x = 77; /*
www.eeworm.com/read/449530/7501318
c truth.c
// truth.c -- what values are true?
#include
int main(void)
{
int n = 3;
while (n)
printf("%2d is true\n", n--);
printf("%2d is false\n", n);
n = -3;
www.eeworm.com/read/449530/7501354
c shoes2.c
/* shoes2.c -- calculates foot lengths for several sizes */
#include
#define ADJUST 7.64
#define SCALE 0.325
int main(void)
{
double shoe, foot;
printf("Shoe size (men's)
www.eeworm.com/read/449280/7515318
txt miaobiao.txt
#include
#include
//此程序实现计时秒表功能,时钟显示范围00.00~99.99秒,分辨度:0.01秒
unsigned char s0,s1,s2,s3;
//定义0.01 秒、0.1 秒、1秒、10秒计时器
unsigned char s[4];
unsigned char k ,data ,sreg;
uns
www.eeworm.com/read/449209/7516780
c main.c
/*
**--------------文件信息------------------------------------------------------------------
**文 件 名: main.c
**创 建 人: 李功周
**最后修改日期: 2008年12月18日
**描 述: RC500驱动设计,KEIL C 编译
**
**-----
www.eeworm.com/read/449122/7518102
c vim.c
/*
* $Id: vim.c,v 1.11 2003/12/23 02:27:46 darren Exp $
*
* Copyright (c) 2000-2003, Darren Hiebert
*
* This source code is released for free distribution under the terms of the
* GNU Ge