代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/436663/7766380
asv an.asv
%模拟退火解决0-1背包问题
clear;
a=[92,4,43,83,84,68,92,82,6,44,32,18,56,83,25,96,70,48,14,58]; %体积
c=[44,46,90,72,91,40,75,35,8,54,78,40,77,15,61,17,75,29,75,63]; %价值
n=length(a);
b=878;
www.eeworm.com/read/436663/7766381
m sa.m
%模拟退火解决0-1背包问题
clear;
a=[92,4,43,83,84,68,92,82,6,44,32,18,56,83,25,96,70,48,14,58]; %体积
c=[44,46,90,72,91,40,75,35,8,54,78,40,77,15,61,17,75,29,75,63]; %价值
n=length(a);
b=878;
www.eeworm.com/read/436654/7766607
cpp binarytree.cpp
#include
#include
#include
#define N 50
typedef struct node
{
char data;
struct node *lchild;
struct node *rchild;
}node,*Blink;
Blink BT;
Blink createbitree
www.eeworm.com/read/436304/7772880
c jobs.c
#include "ysh.h"
#include "extern.h"
void jobs_cmd()
{
NODE *p;
int i=1;
p=head;
/*遍历链表,显示相关内容*/
if (head!=NULL) { /*链表不为空*/
do {
printf("%d %d %s\t%s\n",i,p->pid,p->stat
www.eeworm.com/read/436250/7774073
c no_cont.c
#include
void main()
{
int counter;
printf("\nEven values\n");
for (counter = 1; counter
www.eeworm.com/read/436250/7774093
c chrcnt.c
int chrcnt(const char *string, int letter)
{
int count = 0;
while (*string)
if (*string == letter)
count++;
return(count);
}
www.eeworm.com/read/435895/7781485
c keyboard_check.c
//本程序用于键盘的识别,通过编程,使按下K1键时第一个数码管显示1,按下K2键时第一
//个数码管上显示2,按下K3键时第一个数码管上显示3,按下K4键时第一个数码管上显示4,
//对键盘的扫描采用查询方式
#include "p18f458.h"
static volatile int table[20]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,
www.eeworm.com/read/435895/7781613
c keyboard_check.c
//本程序用于键盘的识别,通过编程,使按下K1键时第一个数码管显示1,按下K2键时第一
//个数码管上显示2,按下K3键时第一个数码管上显示3,按下K4键时第一个数码管上显示4,
//对键盘的扫描采用查询方式
#include "p18f458.h"
static volatile int table[20]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,
www.eeworm.com/read/435895/7781722
c keyboard_check.c
//本程序用于键盘的识别,通过编程,使按下K1键时第一个数码管显示1,按下K2键时第一
//个数码管上显示2,按下K3键时第一个数码管上显示3,按下K4键时第一个数码管上显示4,
//对键盘的扫描采用查询方式
#include "p18f458.h"
static volatile int table[20]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,