代码搜索:while

找到约 10,000 项符合「while」的源代码

代码结果 10,000
www.eeworm.com/read/449088/7518767

c 15chap.c

void chap(p,n) int n; char p[]; { int i,mm; char t; void csift(); mm=n/2; for (i=mm-1; i>=0; i--) csift(p,i,n-1); for (i=n-1; i>=1; i--) { t=p[0]; p
www.eeworm.com/read/449088/7518768

c 15hqck.c

#include "15hbub.c" void hqck(p,n,k,m) int n,k,m; char *p[]; { int i0,*i; void hsplit(); i=&i0; if (kn-1) m=n-1; if (m-k>10) { hsplit(p,k
www.eeworm.com/read/449064/7519202

c function.c

#include "include.h" //波特率=fosc/(32×[65536-(RC2H,RC2L)])的公式 uchar code BaudRate[7][2]={ //foc=11.0592 M {0xfe,0xe0}, //1200bps {0xff,0x70}, //2
www.eeworm.com/read/449040/7519672

cpp 分类计数.cpp

#include void main() { char a=0; int i=0,j=0; while(a!='/') { printf("请输入任意字符:"); scanf(" %c",&a); if(a>=48&&a
www.eeworm.com/read/449040/7519681

cpp 二十一选五.cpp

#include #include #include void main() { int i=0,j=0; int flag=1; int arr[21]={0}; int guess[5]={0}; srand((unsigned)time(NULL)); i=0; while(i
www.eeworm.com/read/448997/7520434

cpp algo0405.cpp

int Index(SString S, SString T, int pos) { // 算法4.5 // 返回子串T在主串S中第pos个字符之后的位置。 // 若不存在,则函数值为0。 // 其中,T非空,1≤pos≤StrLength(S)。 int i = pos; int j = 1; while (i
www.eeworm.com/read/448997/7520435

cpp algo0401.cpp

#include "algo0403.cpp" int Index(SString S, SString T, int pos) { // 算法4.1 // T为非空串。若主串S中第pos个字符之后存在与T相等的子串, // 则返回第一个这样的子串在S中的位置,否则返回0 int n,m,i; SString sub; if (pos > 0) {
www.eeworm.com/read/448997/7520456

cpp algo1012.cpp

void Merge (RedType SR[], RedType TR[], int i, int m, int n) { // 算法10.12 // 将有序的SR[i..m]和SR[m+1..n]归并为有序的TR[i..n] int j,k; for (j=m+1, k=i; i
www.eeworm.com/read/448997/7520497

cpp algo0710.cpp

void FindArticul(ALGraph G) { // 算法7.10 // 连通图G以邻接表作存储结构,查找并输出G上全部关节点。 // 全局量count对访问计数。 int v; struct ArcNode *p; visited[0] = 1; // 设定邻接表上0号顶点为生成树的根 for (int i=1; i
www.eeworm.com/read/448997/7520516

cpp algo1102.cpp

void Adjust(LoserTree &ls, int s) { // 算法11.2 // 沿从叶子结点b[s]到根结点ls[0]的路径调整败者树。 int t, temp; t = (s+k)/2; // ls[t]是b[s]的双亲结点 while (t>0) { if (b[s].key > b[ls[t]].key) { temp