代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/457434/7325535
cpp 找钱.cpp
#include
int cal(int a,int b,int m){
if(b==0) return 1;
int c=cal(a,b/2,m);
if(b&1) return ((c*c)%m*a)%m;
else return (c*c)%m;
}
int main()
{
int
www.eeworm.com/read/457434/7325544
cpp 快速排序.cpp
int partiton(T a[],int n,int num)
{
int i=genindex(n,num); //随机找一个轴值
T b=a[i];num--;n--;
while(n
www.eeworm.com/read/457250/7330312
txt 语法分析.txt
在这里我是写了一个小程序实现的自动生成分析表和规约函数。
LPCSTR LableName[]={ "ID","IF","ELSE","SWITCH","GOTO","RETURN","NUMBER","STRING","MAIN",
"ADD_OP","MUL_OP","ASSIGN_OP","CMP_OP","LOGIC_OP1","LOGIC_OP2",
"LPAREN","RPA
www.eeworm.com/read/457218/7332254
m chap7_2a.m
%BP Training for MIMO and Multi-samples
clear all;
close all;
xite=0.50;
alfa=0.05;
w2=rands(6,2);
w2_1=w2;w2_2=w2_1;
w1=rands(3,6);
w1_1=w1;w1_2=w1;
dw1=0*w1;
I=[0,0,0,0,0,0]';
Iou
www.eeworm.com/read/456942/7336392
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/456911/7337225
c two_communication_2.c
//包含头文件
#include
//宏定义
#define uchar unsigned char
#define uint unsigned int
//延时子程序
delay()
{
uint j;
uchar k;
for(j=0;j
www.eeworm.com/read/456911/7337226
c text1.c
//串行通信:串行信号变为并行信号
//包含头文件
#include
//宏定义
#define uchar unsigned char
#define uint unsigned int
//延时子程序
delay()
{
uint j;
uchar k;
for(j=0;j
www.eeworm.com/read/456783/7339733
m jtf.m
a(1)=1;
t=2;
h(1)=0.02;
y(1)=f2(a);
e=10^(-4);
while(k>0)
a(k+1)=a(k)+h(k);
y(k+1)=f2(a(k+1));
if(y(k+1)
www.eeworm.com/read/456747/7339978
c 44blib.c
#include "44b.h"
#include "44blib.h"
#include "def.h"
#include "option.h"
#include
#include
#include
#include
#include
#define STA
www.eeworm.com/read/456730/7340146
c ad.c
#include
sbit csda=P3^2;
sbit wr=P3^6;
void main()
{
csda=0;
wr=0;
P0=0;
while(1);
}