代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/450412/7484248
m deci2bin.m
function z=deci2bin(x,l)
[A,B]=size(x);
for j=1:B,
y = zeros(1,l);
i = 1;
while x(j)>=0 & i
www.eeworm.com/read/450411/7484278
c pstr.c
/*
* 68K/386 32-bit C compiler.
*
* copyright (c) 1997, David Lindauer
*
* This compiler is intended for educational use. It may not be used
* for profit without the express written cons
www.eeworm.com/read/449996/7491901
c pathname.c
/* Convert relative to absolute pathnames
*/
#include
#include "global.h"
#include "dirutil.h"
static void crunch(char *buf,char *path);
/* Given a working directory and an arbitr
www.eeworm.com/read/449694/7497965
c re.c
#include
main()
{
int n,s,j,k,p;
int a[100];//最多允许100人
printf("请输入人数:");
scanf("%d",&n);
printf("请输入数字:");
scanf("%d",&s);
for(j=0;j
www.eeworm.com/read/449694/7497972
c 十五人排序.c
/*原题: 一寝室有15个人,每天都要三人一行外出散步一次,要在一周
(7天)内 每个人都跟其他14人各散步一次,问每一天应该怎么安排??
要快点想哟!!!! 都等一会15分钟*/
#include
int anpai[7][5][3];
int biaozhi[16][16];
int i=0,j=0,k=0,a,total=0;
void hui
www.eeworm.com/read/449694/7497980
c 平方根.c
#define Epsilon 1.0E-6 /*控制解的精度*/
#include
#include
main()
{
float num,pre,this;
do
{
scanf("%f",&num);/*输入要求平方根的数*/
}while(num
www.eeworm.com/read/449590/7499639
bak 8.bak
main( )
{ int a[11] , l , h , m , y , x , *p ;
for ( y=1 ; y
www.eeworm.com/read/449088/7518400
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/449088/7518454
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--)