代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/454765/7383663
c 2410lib.c
//===================================================================
// File Name : 2410lib.c
// Function : S3C2410 PLL,Uart, LED, Port Init
// Program : Shin, On Pil (SOP)
// Date : Marc
www.eeworm.com/read/454765/7383721
c 2410lib.c
//===================================================================
// File Name : 2410lib.c
// Function : S3C2410 PLL,Uart, LED, Port Init
// Program : Shin, On Pil (SOP)
// Date : Marc
www.eeworm.com/read/454633/7386449
cpp algo0405.cpp
int Index(SString S, SString T, int pos) { // 算法4.5
// 返回子串T在主串S中第pos个字符之后的位置。
// 若不存在,则函数值为0。
// 其中,T非空,1≤pos≤StrLength(S)。
int i = pos;
int j = 1;
while (i
www.eeworm.com/read/454633/7386450
cpp algo0401.cpp
#include "algo0403.cpp"
int Index(SString S, SString T, int pos) { // 算法4.1
// T为非空串。若主串S中第pos个字符之后存在与T相等的子串,
// 则返回第一个这样的子串在S中的位置,否则返回0
int n,m,i;
SString sub;
if (pos > 0) {
www.eeworm.com/read/454633/7386471
cpp algo1012.cpp
void Merge (RedType SR[], RedType TR[], int i, int m, int n) {
// 算法10.12
// 将有序的SR[i..m]和SR[m+1..n]归并为有序的TR[i..n]
int j,k;
for (j=m+1, k=i; i
www.eeworm.com/read/454633/7386512
cpp algo0710.cpp
void FindArticul(ALGraph G) { // 算法7.10
// 连通图G以邻接表作存储结构,查找并输出G上全部关节点。
// 全局量count对访问计数。
int v;
struct ArcNode *p;
visited[0] = 1; // 设定邻接表上0号顶点为生成树的根
for (int i=1; i
www.eeworm.com/read/454633/7386531
cpp algo1102.cpp
void Adjust(LoserTree &ls, int s) { // 算法11.2
// 沿从叶子结点b[s]到根结点ls[0]的路径调整败者树。
int t, temp;
t = (s+k)/2; // ls[t]是b[s]的双亲结点
while (t>0) {
if (b[s].key > b[ls[t]].key) {
temp
www.eeworm.com/read/454485/7389018
cpp 44.cpp
#include
#include
#include
#include
using namespace std;
void Jsort(vector &vec,int d)
{
int i,j;
int m=1;
queue q[10];
for(i=1;
www.eeworm.com/read/454421/7391925
c 时钟over.c
//////////////////////////////////////////////////
// //
// AT89C51时钟程序 //
//