代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/155317/11885288
c strcat.c
#include
char *strcat(char *s1, CONST char *s2)
{
char *s = s1;
while (*s1)
s1++;
while (*s2)
*s1++ = *s2++;
*s1 = *s2;
return s;
}
www.eeworm.com/read/154759/11929664
txt 费波那奇数列.txt
void main()
{
int f1,f2,i=3,t;
output "费波那奇数列的前46个数\n";
f1=1;
f2=1;
output "1\n1\n";
while(i
www.eeworm.com/read/343634/11937598
m crt.m
M1=5*7*11;
M2=3*7*11;
M3=3*5*11;
M4=3*5*7;
M=3*5*7*11;
i1=0;i2=0;i3=0;i4=0;
while(k1~=1)
k1=mod(M1*i1,3);
i1=i1+1;
end
C1=k1;
while(k2~=1)
k2=mod(M1*i2,5);
i2=i2+1;
www.eeworm.com/read/256240/12012228
m fibo.m
function y=fibo(k)
%This function generated the Fibonacci arry.
%This function output the kth entiy of Fibonacci arry.
n=k+1;
F(1)=1;
F(2)=1;
% % % for and if 语句产生Fibonacci序列
% if n
www.eeworm.com/read/256101/12028446
cpp ex04_22.cpp
// Exercise 4.22: ex04_22.cpp
// What does this program print?
#include
using std::cout;
using std::endl;
int main()
{
int row = 10; // initialize row
int column; // declare
www.eeworm.com/read/256101/12028780
cpp fig05_07.cpp
// Fig. 5.11: fig05_11.cpp
// do...while repetition statement.
#include
using std::cout;
using std::endl;
int main()
{
int counter = 1; // initialize counter
do
{
www.eeworm.com/read/153391/12036428
c qrnd.c
# include "stdio.h"
void qrnd(a,b,r,p,n)
int a,b,*r,n,p[];
{ int k,l,m,i;
k=b-1+1;l=2;
while (l
www.eeworm.com/read/255980/12041618
txt readme.txt
GENERAL DESCRIPTION:
This BREW Applet illustrates usage of BREW's IWeb Shows usage of
BREW's IWeb interface. It's a simple URL fetcher/shower.
The IWeb interface is designed t
www.eeworm.com/read/152818/12079639
cpp minibzip2.cpp
// minibzip2.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
/*-------------------------------------------------------------*/
/*--- Block sorting machinery
www.eeworm.com/read/341418/12084754
c externalmemory.c
/********************************************************************
Author : ADI - Apps www.analog.com/MicroConverter
Date : May. 2007
File : External