代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/316923/13514499
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/316786/13517783
c twodim.c
#include
void main()
{
int i,j,n;
int a[16][16];
while(1){
printf("请输入一个1~15之间的奇数: ");
scanf("%d",&n);
if((n%2!=0)&&(n!=0)&&(n
www.eeworm.com/read/316786/13517865
c merge.c
#include
void Mpass(int x[],int y[],int k,int n); /*声明其为函数*/
void Msort(int x[],int y[],int n); /*声明其为函数*/
int main(void)
{
/*要排序整型数据序列*/
int a[] = {26,5,37,1,61,11,59,15,48,19
www.eeworm.com/read/316720/13518366
txt shuju.txt
#include
int Divide(int a[], int n)//把数组a中所有值为非负的记录调到负的记录之前
{
int l,h,t;
l=0;
h=n-1;
while(l
www.eeworm.com/read/316718/13518368
txt shujujiegou.txt
#include
typedef int node;
node afile[20];
node x;
int d,dl,n;
int l,r,i,j;
void q(int l,int r) {
int p;
d++;
if(dl
www.eeworm.com/read/316610/13520176
c 44blib.c
#include "44b.h"
#include "44blib.h"
#include "def.h"
#include "option.h"
#include
#include
#include
#include
#include
#define STACKSI
www.eeworm.com/read/316419/13523217
c bo4-3.c
/* bo4-3.c 串采用块链存储结构(由c4-3.h定义)的基本操作(16个) */
void InitString(LString *T)
{ /* 初始化(产生空串)字符串T。另加 */
(*T).curlen=0;
(*T).head=NULL;
(*T).tail=NULL;
}
Status StrAssign(LString *T,ch
www.eeworm.com/read/316095/13530231
c cc2.c
/*
** Small-C Compiler -- Part 2 -- Front End and Miscellaneous.
** Copyright 1982, 1983, 1985, 1988 J. E. Hendrix
** All rights reserved.
*/
#include
#include "cc.h"
extern char
www.eeworm.com/read/316095/13530235
bak cc1.bak
/*
** Small-C Compiler -- Part 1 -- Top End.
** Copyright 1982, 1983, 1985, 1988 J. E. Hendrix
** All rights reserved.
*/
#include
#include "notice.h"
#include "cc.h"
/*
** mis
www.eeworm.com/read/316095/13530238
arc clib.arc
>>> CLIB.H 1617
/*
** CLIB.H -- Definitions for Small-C library functions.
**
** Copyright 1983 L. E. Payne and J. E. Hendrix
*/
/*
** Misc parameters
*/
#define MAXFILES 20 /* maximum op