代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/440219/7691860
cpp sjf_p.cpp
#include
#include
#include
int n,Bu[20];
float Twt,Awt,Awt1,Awt2,A[10],Wt[10],w;
//Getting the No of processes & burst time
void Getdata();
//Shortest job Firs
www.eeworm.com/read/440081/7694107
doc 新建 microsoft word 文档.doc
ASCII
21: 第21题 请编写函数fun,对长度位7个字符的字符串,除首尾字符外,将其余5个字符按ascii码降序排列。
答案:
void fun(char *a,int n)
{ int i,j,t;
for(i=1;i
www.eeworm.com/read/439578/7705907
cpp 1.cpp
#include
void reap( int b[], int n)
{
int *a=new int[n];
for (int i=0;i
www.eeworm.com/read/439490/7707927
c strkey.c
/* File : strkey.c
Author : Richard A. O'Keefe.
Updated: 20 April 1984
Defines: strkey()
strkey(dst, head, tail, options)
copies tail-head characters from head to dst accord
www.eeworm.com/read/439490/7707973
c strrchr.c
/* File : strrchr.c
Author : Richard A. O'Keefe.
Updated: 10 April 1984
Defines: strrchr(), rindex()
strrchr(s, c) returns a pointer to the last place in s where c
www.eeworm.com/read/438832/7725347
sh recurse.sh
#!/bin/bash
# recurse.sh
# 脚本能否递归地调用自己?
# 是的, 但这有什么实际的用处吗?
# (看下面的.)
RANGE=10
MAXVAL=9
i=$RANDOM
let "i %= $RANGE" # 在0到$RANGE - 1之间, 产生一个随机数.
if [ "$i" -lt "$MAXVAL" ]
then
echo "i = $i"
www.eeworm.com/read/438810/7726072
c 8atk.c
#include "math.h"
double atk(x,y,n,t,eps)
int n;
double t,eps,x[],y[];
{ int i,j,k,m,l;
double z,xx[10],yy[10];
z=0.0;
if (n
www.eeworm.com/read/438810/7726126
c 15ikey.c
void ikey(p,n,k,m)
int n,k,m;
HEAPSORT *p[];
{ int i,l;
HEAPSORT *w;
void pisift();
if (kn-1) m=n-1;
l=m-k+1;
for (i=l/2-1; i>=0; i--)
www.eeworm.com/read/438810/7726132
c 15ckey.c
void ckey(p,n,k,m)
int n,k,m;
HEAPSORT *p[];
{ int i,l;
HEAPSORT *w;
void pcsift();
if (kn-1) m=n-1;
l=m-k+1;
for (i=l/2-1; i>=0; i--)
www.eeworm.com/read/438810/7726134
c 16cbkey.c
int cbkey(p,n,a,b,m)
int n,*m;
BISERCH *p[];
char a,b;
{ int i,j,k;
i=1; j=n;
while (i=a)&&((*p[k-1]).KEY