代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/308442/13701179
c 0_to_100.c
#include
void main ()
{
int value = 0;
while (value
www.eeworm.com/read/308442/13701191
c no_cont.c
#include
void main()
{
int counter;
printf("\nEven values\n");
for (counter = 1; counter
www.eeworm.com/read/308442/13701211
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/308285/13705158
txt cs.txt
【程序1】
题目:809*??=800*??+9*??+1 其中??代表的两位数,8*??的结果为两位数,9*??的结果为3位数。求??代表的两位数,及809*??后的结果。
1.程序分析:
2.程序源代码:
output(long b,long i)
{ printf("\n%ld/%ld=809*%ld+%ld",b,i,i,b%i);
}
www.eeworm.com/read/308157/13707099
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/308157/13707215
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/308157/13707216
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/308119/13707707
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/307670/13717736
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)