代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/140062/13112498
cpp sort.cpp
void sort(int n, double ra[])
{
int i,j,l,ir;
double rra;
l = int(n / 2) + 1;
ir = n;
do
{
if (l > 1)
{
l = l - 1;
rra = ra[l];
}
www.eeworm.com/read/140057/13113224
m ex0510.m
%Ex0510 用continue终止while循环
sum=2;ss=0;
for n=3:100
for m=2:fix(sqrt(n))
if mod(n,m)==0
ss=1;%能被整除就用ss为1表示
break;%能被整除就跳出判断的循环
else
www.eeworm.com/read/241836/13113545
asv finddir.asv
function [dir,k]=finddir(aa,bb,g,f,dir,si,ni)
%判断两点之间是否有往返方向观测值
m=length(dir);
k=0;
dir=0;
for i=1:m
for j=si(i):si(i)+ni(i)
while(g(j)==aa)
if (f(j)==bb)
www.eeworm.com/read/241836/13113881
asv finddir.asv
function [dir,k]=finddir(aa,bb,g,f,dir,si,ni)
%判断两点之间是否有往返方向观测值
m=length(dir);
k=0;
dir=0;
for i=1:m
for j=si(i):si(i)+ni(i)
while(g(j)==aa)
if (f(j)==bb)
www.eeworm.com/read/140015/13114401
c glob.c
/*
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provid
www.eeworm.com/read/139956/13118856
c vecops.c
/*----------------------------------------------------------------------
File : vecops.c
Contents: some special vector operations
Author : Christian Borgelt
History : 16.09.1996 file creat
www.eeworm.com/read/139952/13119418
c xval-prep.c
/*************************************************************************/
/* */
/* Program to prepare data file for cross-validation */
/* ---------------------------------------------
www.eeworm.com/read/326741/13119449
m edu_imgcrop.m
function bw2 = edu_imgcrop(bw)
% Find the boundary of the image
[y2temp x2temp] = size(bw);
x1=1;
y1=1;
x2=x2temp;
y2=y2temp;
% Finding left side blank spaces
cntB=1;
while (sum(bw(:,cntB
www.eeworm.com/read/241790/13120361
cpp 7-0-1.cpp
#include
#include
#include
#include
using namespace std;
vector split(const string& s)
{
vector ret;
typedef string::size_type string_size;
s
www.eeworm.com/read/241771/13121017
c tc15-4.c
/*****************
tc15-4.c
数制转换
******************/
#include "stdio.h"
main()
{
int i,j,m,n,md;
int bt[20];
printf(" 数制转换\n\n");
printf("输入数值:");
scanf("%d",&md);
i=0;