Define

共 234 篇文章
Define 相关的电子技术资料,包括技术文档、应用笔记、电路设计、代码示例等,共 234 篇文章,持续更新中。

This specification defines the Audio Codec ‘97 (AC ‘97) Architecture and Digital Interface (AC-link)

This specification defines the Audio Codec ‘97 (AC ‘97) Architecture and Digital Interface (AC-link) specifically designed for implementing audio and modem I/O functionality in mainstream PC systems.

The files adi_ssl_init.h and adi_ssl_init.c are used to define the functions adi_ssl_Init()

The files adi_ssl_init.h and adi_ssl_init.c are used to define the functions adi_ssl_Init() and 慳di_ssl_Terminate()?which initialize and terminate all the Blackfin System Services in the app

//通过18B20检测的数字温度可在电脑上显示当前温度值 #include <reg52.h> #define uchar unsigned char #define uint un

//通过18B20检测的数字温度可在电脑上显示当前温度值 #include <reg52.h> #define uchar unsigned char #define uint unsigned int sbit DS=P2^2 //define interface uint temp // variable of temperature uchar flag1 // si

基于终端的订花系统_socket #include<stdio.h> #include<stdlib.h> #include<errno.h> #inclu

基于终端的订花系统_socket #include<stdio.h> #include<stdlib.h> #include<errno.h> #include<string.h> #include<sys/types.h> #include<netinet/in.h> #include<sys/so

//顺序表的建立、查找、插入与删除 #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

sbit CS = P1^0 sbit SCK = P1^6 sbit SIN = P1^7 sbit SOUT = P1^5 sbit WP = P1^1

sbit CS = P1^0 sbit SCK = P1^6 sbit SIN = P1^7 sbit SOUT = P1^5 sbit WP = P1^1 void XReady(void) void XSendByte(unsigned char b) unsigned char XGetByte(void) void XWriteEn(vo

C++完美演绎 经典算法 如 /* 头文件:my_Include.h */ #include <stdio.h> /* 展开C语言的内建函数指令 */ #define PI 3.141

C++完美演绎 经典算法 如 /* 头文件:my_Include.h */ #include <stdio.h> /* 展开C语言的内建函数指令 */ #define PI 3.1415926 /* 宏常量,在稍后章节再详解 */ #define circle(radius) (PI*radius*radius) /* 宏函数,圆的面积 */ /* 将比较数值大小的函数写在自编i

c51流水灯仿真与程序

<p> 对应程序:<br /> #include&lt;reg52.h&gt;<br /> #define uint unsigned int<br /> #define uchar unsigned char<br /> uchar code tab[]={<br /> 0x81,<br /> 0x42,<br /> 0x24,<br /> 0x18,<br /> };<br

* TFTP client compatible with RFC-1350 * compile under visiual c++ or borland c++ * author email:

* TFTP client compatible with RFC-1350 * compile under visiual c++ or borland c++ * author email: yuyushine@163.com ***************************************************/ #define _VC /* if c

This guide reviews the rules and syntax of the principle commands that comprise C and its object-ori

This guide reviews the rules and syntax of the principle commands that comprise C and its object-oriented cousin, C++. The reference consists of 19 chapters that define operators and the standard inpu

The ability to create groups of reports, and grant users access to reports by group. The ability to

The ability to create groups of reports, and grant users access to reports by group. The ability to generate reports as PDF, XLS, HTML, and CSV files. The ability to generate bar, pie and xy charts fo

实习题 [问题描述] 1. 设顺序表中的数据元素递增有序

实习题 [问题描述] 1. 设顺序表中的数据元素递增有序,将插入到顺序表的适当位置上,是该表仍然有序。 [输入] 初始顺序表,插入字符。 [输出] 插入x后线性表的结果 [存储结构] 采用顺序存储结构 [算法的基本思想] 建立一个递增顺序表,插入一个数值并移动元素,使其仍然有序。 程序如下: #include "iostream.h" #include &lt;mall

LINEINTRGAL Line Integral in a 2D Vector Field. LINEINTRGAL(X,Y,U,V,C) computes the line integral a

LINEINTRGAL Line Integral in a 2D Vector Field. LINEINTRGAL(X,Y,U,V,C) computes the line integral along the lines given in cell array C. X and Y define the coordinates of a rectangular grid over whi

[问题描述] 将N个关键字去整数的记录进行整序

[问题描述] 将N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N) [输入] 待排序记录个数,各关键字的值。 [输出] 关键字从正负分开,正数在前 [存储结构] 待排序记录顺序存储。 [算法的基本思想] 快速排序算法每次任取一个记录的关键字为标准,将其余记录分为两组将,N个关键字去整数的记

红黑树:输入:在同一目录下的redblacktree.txt文件中输入十个大于0的数值

红黑树:输入:在同一目录下的redblacktree.txt文件中输入十个大于0的数值,每个数值中间用空格格开 数目可以大于十个,但是要求在源程序中改变#define NUM 10 ,改成相应关键值各个数输出:按照先序输出红黑树,格式为:根节点。颜色(左子树。颜色,右子树。颜色),并输出此 树的黑高度,然后输入要删除的关键值,按回车后输出删除后的结果,并输出其高度。

顺序栈的出栈、入栈、求栈长等基本操作 #include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #define STACKSIZE 50 typed

顺序栈的出栈、入栈、求栈长等基本操作 #include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #define STACKSIZE 50 typedef char DateType typedef struct

pic单片机 DB4~DB7:在L CD中的作用

pic单片机 DB4~DB7:在L CD中的作用,为数据线,DB0~DB2接地,DB3接高电平以完成对液晶的初始化。本Demo例子程序中,与单片机的RB2~RB5连接,用户使用其他的管腿时,只需修改#define部分。 RS为数据、指令控制线,与单片机的RB1连接,当RS为高电平时对LCD模块数据寄存器操作,当RS为低电平时对LCD模块指令寄存器操作; E为读写使能控制线,与单片机的RA5连

#define PI 3.1415926 double angle=(double)theta/10.0*PI/180.0 double anglecos=cos(angle) dou

#define PI 3.1415926 double angle=(double)theta/10.0*PI/180.0 double anglecos=cos(angle) double anglesin=sin(angle)

In this implementation of AntNet-3.0 one could get the behavior of both algorithms through a simple

In this implementation of AntNet-3.0 one could get the behavior of both algorithms through a simple #define. The implementation has been tested and works with Windows XP and MSVC6.0 and Omnetpp3.0a3

To use this function just define a variable say var, var = pnseq(a, b, c) for a, b and c refe

To use this function just define a variable say var, var = pnseq(a, b, c) for a, b and c refer to the zip file