代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/229891/14313500
c msp430xg46x_uscib0_spi_01.c
//******************************************************************************
// MSP430xG46x Demo - USCI_B0, SPI Interface to TLC549 8-Bit ADC
//
// Description: This program demonstrate USC
www.eeworm.com/read/128120/14314765
c 12-3.c
#include "stdio.h"
#include
typedef int DataType;
ShortestPath(int s, DataType d[], int p[])
{// 寻找从顶点s出发的最短路径, 在d中返回最短距离
// 在p中返回前继顶点
int i,j,*v,*w;
Chain L; // 路径可到达顶点的列表
Chain
www.eeworm.com/read/128112/14315146
cpp 哈希表链地址法.cpp
// 哈希表链地址法.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include
#include
#define MAX 100
int ha[MAX],hlen[MAX],n,m,p;
void cre
www.eeworm.com/read/128030/14318544
cpp adifelse.cpp
// adifelse.cpp
// demonstrates IF...ELSE with adventure program
#include
using namespace std;
#include //for getche()
int main()
{
char dir='a';
i
www.eeworm.com/read/128030/14318556
cpp adelseif.cpp
// adelseif.cpp
// demonstrates ELSE...IF with adventure program
#include
using namespace std;
#include //for getche()
int main()
{
char dir='a';
i
www.eeworm.com/read/127962/14324120
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/127961/14324614
cpp bo4-3.cpp
// bo4-3.cpp 串采用块链存储结构(由c4-3.h定义)的基本操作(16个)
void InitString(LString &T)
{ // 初始化(产生空串)字符串T。另加
T.curlen=0;
T.head=NULL;
T.tail=NULL;
}
Status StrAssign(LString &T,char *chars)
www.eeworm.com/read/229621/14326486
m pmxindexxover.m
function [c1,c2] = pmxIndexXover(p1,p2,bounds,Ops)
%there is an PMX xover
pm=Ops(2); %the probility of xover
rN=rand
www.eeworm.com/read/229529/14332568
cpp 2.cpp
#include
#include
using namespace std;
double f(double x)
{
double y;
y=1/(x*x+1)/(x*x+4);
return y;
}
int main()
{
double F,h,T[2][100]={0};
int m;/
www.eeworm.com/read/127808/14332684
cpp nbtheory.cpp
// nbtheory.cpp - written and placed in the public domain by Wei Dai
#include "pch.h"
#include "nbtheory.h"
#include "modarith.h"
#include
#include
NAMESPACE_BEGIN(Crypto