代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/439490/7707669
c wcount.c
/* Bai tap 9_5 - Tim so tu trong chuoi */
#include
#include
#include
#pragma warn -pia
char *trim(char *chuoi)
{
char *p;
while (p = strstr(chuoi, " "))
www.eeworm.com/read/439490/7707986
c strnmov.c
/* File : strnmov.c
Author : Richard A. O'Keefe.
Updated: 20 April 1984
Defines: strnmov()
strnmov(dst, src, n) moves up to n characters of src to dst. It
always mo
www.eeworm.com/read/439468/7708210
m strtrim.m
function s = strtrim(str)
%trim the linebreak and space on both sides of the string
s = str;
i = 1;
while isspace(str(i)) && i
www.eeworm.com/read/439271/7713431
m qpause.m
function qpause
% QPAUSE Used instead of PAUSE to allow graph window to remain active
% inside an M file. QPAUSE also makes sure to prompt user to
% exit shaping environment before p
www.eeworm.com/read/439271/7713451
m chap10_1cross.m
function [pop]=cross(pop)
[s,t]=size(pop);
pop1=pop;
for i=1:2:s
m=randperm(t-3)+1;
crosspoint(1)=min(m(1),m(2));
crosspoint(2)=max(m(1),m(2));
% middle=pop(i,crosspoint(1)+1:c
www.eeworm.com/read/439175/7715472
cpp 一次拟合.cpp
#include
#include
#include
double sum1(double a[],double b[],int n) //n表示数组的大小
{
double sum=0;
for(int i=0;i
www.eeworm.com/read/439009/7718166
c main.c
#include
#include "HyperTerminal.h"
void main(void)
{
InitHyperTerminal();
while(1)
{
RunHyperTerminal();
}
}
www.eeworm.com/read/438922/7719332
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/438832/7725372
sh ex28.sh
#!/bin/bash
LIMIT=19 # 上限
echo
echo "Printing Numbers 1 through 20 (but not 3 and 11)."
a=0
while [ $a -le "$LIMIT" ]
do
a=$(($a+1))
if [ "$a" -eq 3 ] || [ "$a" -eq 11 ] # 除了3和11.
then
co
www.eeworm.com/read/438810/7726111
c 7dhrt.c
#include "math.h"
int dhrt(a,b,h,eps,x,m,f)
int m;
double a,b,h,eps,x[],(*f)();
{ int n,js;
double z,y,z1,y1,z0,y0;
n=0; z=a; y=(*f)(z);
while ((z