搜索结果
找到约 903 项符合
stRing-include 的查询结果
其他 //使用gray code的解法 #include <iostream> #include <cmath> using namespace std #define
//使用gray code的解法
#include <iostream>
#include <cmath>
using namespace std
#define ZERO 0
#define ONE 1
#define ODD 1
#define EVEN 0
#define RIGHT 1
#define LEFT 0
#define MAX 10
人工智能/神经网络 #include "iostream.h" #include "iomanip.h" #define N 20 //学习样本个数 #define IN 1 //输入层神经元数目 #define
#include "iostream.h"
#include "iomanip.h"
#define N 20 //学习样本个数
#define IN 1 //输入层神经元数目
#define HN 8 //隐层神经元数目
#define ON 1 //输出层神经元数目
double P[IN] //单个样本输入数据
double T[ON] //单个样本教师数据
double W[HN][IN] //输入层至隐层权值
double V[ON][HN] //隐层至输出层权值 ...
其他 //顺序表的建立、查找、插入与删除 #include <stdio.h> #include <malloc.h> #include <stdlib.h> #
//顺序表的建立、查找、插入与删除
#include <stdio.h>
#include <malloc.h>
#include <stdlib.h>
#define ListSize 100 //表最大长度
//结构定义
typedef struct SeqList
{
int node[ListSize] //存放表结点
int length //当前表长度
} SeqList
//插入元素
insertList(SeqList *list, int e)
{
int i=list->length-1 ...
Symbian include emccsoft s60_2x
include emccsoft s60_2x
文章/文档 #include <stdio.h> #include <stdlib.h> #define OK 1 #define OVERFLOW -2
#include <stdio.h>
#include <stdlib.h>
#define OK 1
#define OVERFLOW -2
typedef int status
typedef struct LinkList{ //用带表头结点的有序链表表示多项式
float coef //系数
int expn //指数
struct LinkList *next //指向后继的指针
}*polynomail //结构体类型的指针 ...
单片机开发 PC与单片机双向通讯智能温控程序 #include <AT89X51.H> #include <intrins.h> #define Key_UP P1_0 #def
PC与单片机双向通讯智能温控程序
#include <AT89X51.H>
#include <intrins.h>
#define Key_UP P1_0
#define Key_DOWN P1_1
#define Key_SET P1_2
#define RelayOutPort P2_0
#define LEDPort P0
#define DELPort P2_1
#define LEDTwoC P3_6
#define LEDThreeC P3_7
#define TMPort P2_7
#define INBUF_LEN 5 // ...
单片机开发 VB遥控播放器红外遥控解码 #include <regX52.h> #define c(x) (x*110592/120000) sbit Ir_Pin=P3^2 sb
VB遥控播放器红外遥控解码
#include <regX52.h>
#define c(x) (x*110592/120000)
sbit Ir_Pin=P3^2
sbit beep=P2^1
//sbit RELAY=P2^0
#define INBUF_LEN 4 //数据长度
unsigned char inbuf1[INBUF_LEN]={ 0 , 0 , 0 , 0 } //发送缓冲区
unsigned char inbuf2[50] //接收缓冲区
unsigned char count3
void init_s ...
单片机开发 遥控解码通过电脑串口显示 /* 晶振:11.0569MHz */ #include <REGX52.h> #define uchar unsigned char uchar d
遥控解码通过电脑串口显示
/* 晶振:11.0569MHz */
#include <REGX52.h>
#define uchar unsigned char
uchar data IRcode[4] //定义一个4字节的数组用来存储代码
uchar CodeTemp //编码字节缓存变量
uchar i,j,k //延时用的循环变量
sbit IRsignal=P3^2 //HS0038接收头OUT端直接连P3.2(INT0)
/************************** ...
单片机开发 This course is about "distributed algorithms".Distributed algorithms include a wide range of paralle
This course is about "distributed algorithms".Distributed algorithms include a wide range of parallel algorithms,which can be classified by a variety of attributes.
数据结构 :#include <stdlib.h>#include <stdio.h>#include <time.h> void InsertSort(int a[],in
:#include <stdlib.h>#include <stdio.h>#include <time.h> void InsertSort(int a[],int *(k1),int *(k2))//0:直接插入排序{ int i,j int temp *(k1)=0 *(k2)=0 for(i=0 i<149 i++) { temp=a[i+1] *(k2)++ ...