代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/488486/6487985
m kb_b.m
%enterKey=KbName('Return');
%while 1
% [ keyIsDown, seconds, keyCode ] = KbCheck;
%if keyCode(enterKey)
% startSecs=GetSecs
% fprintf('typed at time %.3f seconds\n',startSecs);
%
www.eeworm.com/read/488546/6489248
c str.c
static char rcsid[] = "$Id: H:/drh/idioms/book/RCS/str.doc,v 1.10 1996/06/26 23:02:01 drh Exp $";
#include
#include
#include "assert.h"
#include "fmt.h"
#include "str.h"
#i
www.eeworm.com/read/488319/6492652
c nosystem.c
#include
#include
#include
#include
#define uchar unsigned char
#define uint unsigned int
#define shuzi P0
#define weixuan P2
#define k
www.eeworm.com/read/488161/6497367
m riddling.m
%产生一个N(0,1)正态分布随机数
%采用筛选法,精度较高
%其他方法可参阅《现代应用数学手册--概率统计与随机过程卷》清华大学出版社马振华主编
%function y=riddling()
function y=riddling()
sign=0;
while 1
x=rand(1,2);
v1=2*x(1)-1;v2=2*x(2)-1;
s=v1^2
www.eeworm.com/read/488177/6497564
cpp playlist.cpp
/*
playlist.cpp Playlist management class
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free
www.eeworm.com/read/488247/6499372
c u1.c
#include
//初始化串行口
void csh()
{
SM0=0;
SM1=1;
REN=1;
TI=0;
RI=0;
PCON=0;
TH1=0xF3;
TL1=0XF3;
TMOD=0X20;
EA=1;
ET1=0;
ES=1;
TR1=1;
}
void main()
{
int
www.eeworm.com/read/487605/6506298
java scan.java
public class Scan{
int shape[][][]=new int[16][16][5];
void scan(int chesspad[][],int colour){//查看八方向上相邻同色棋子个数
int i,j;
for(i=1;i
www.eeworm.com/read/487605/6506318
java scan.java
public class Scan{
int shape[][][]=new int[16][16][5];
void scan(int chesspad[][],int colour){//查看八方向上相邻同色棋子个数
int i,j;
for(i=1;i
www.eeworm.com/read/487623/6506486
txt 新建 文本文档.txt
/*
*费马小定理的应用,求质数
*Miller-Rabin算法
*2008 12 27
*/
#include"stdio.h"
#include"stdlib.h"
#include"math.h"
#include"time.h"
int Btest(int a,int n)
{
int s = 0;
int t = n-1;
int i , j , k;
www.eeworm.com/read/487350/6508890
c bisai.c
#include
#include
#define uint unsigned int
#define uchar unsigned char
uchar aa,temp1,temp2,temp3,shi,ge,shi1,ge1,shi2,ge2;
uchar zhu,ke,rd,zhu1,ke1,zhu2,ke2,zhu3,ke3;
uchar