代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/441279/7672163
h createmaze.h
#include"drawmaze.h"
void Createmaze(int m[100][100]) /*随机生成一个迷宫*/
{
int i,j;
for(i=0;i
www.eeworm.com/read/441180/7675054
c ex1c.c
/*= ex1c.c =====================================================================
*
* Copyright (C) 2003, 2004 Nordic Semiconductor
*
* This file is distributed in the hope that it will be use
www.eeworm.com/read/441132/7675420
fixpaths
#!/usr/bin/perl -w
#
# fixpaths - substitute makefile variables into text files
$usage = "Usage: $0 [-Dstring=replacement] [[infile] ...]\n";
if (!defined(@ARGV)) { die ("$usage"); }
# read in th
www.eeworm.com/read/440991/7678247
txt 按键控制双机通讯.txt
#include "reg51.h"
#include "string.h"
sbit P34=P3^4;
sbit P35=P3^5;
sbit P36=P3^6;
sbit P37=P3^7;
main()
{ unsigned int i,j,s=0;
TMOD=0x20; // 初始化,波特率1200
TH1=230;
TL1=230;
TR1=1;
S
www.eeworm.com/read/440962/7678429
txt dinic.txt
#define INF 100000000
int f[105][105],c[105][105];
int cur[105],height[105],alfl[105],queue[20000],sign[105],pre[105];
int t,s,flow;
bool bfs () {
int l=0,r=0,u,v;
queue[r++]=t;
height[t]=
www.eeworm.com/read/440764/7681719
c key.c
#include
sbit key1=P3^0;//定义按键位置
sbit key2=P3^1;
sbit key3=P3^2;
sbit key4=P3^3;
unsigned char const dofly[]={0xf9,0xb0,0x92,0x80};// code table 1358
/////////////////////////
www.eeworm.com/read/440764/7681830
c 蜂鸣器.c
/*copyright 2007,ShangHai HaoTun Electronic Technology co.,Ltd
*
*This sample is used for Speaker.
*
*write by Shifang 2007-4-23
*
*V1.1
*/
#include
sbit SPK=P1^2;//定义
www.eeworm.com/read/440697/7683695
txt vc.rar.txt
06年南开上机题
1: 第1题 m个人的成绩存放在score数组中,请编写函数fun,它的功能是:将低于平均分的人作为函数值返回,将低于平均分的分数放在below所指定的函数中。
答案:
int fun(int score[],int m,int below[])
{
int i,k=0,aver=0;
for(i=0;i<m;i++)
aver+=score[i];
www.eeworm.com/read/440514/7688388
cpp 词法分析器.cpp
#include "define.h"
#include
#include
#include
#include
FILE *fp;
/*//////////////////////////////////////////////////////////////////////////////
This