搜索资源列表
5510dedaima
- /*** *5510单片机测试程序 基本测试成功 2005-8-25 write By CW *** *** *** ****/ #include <reg52.h> #include <absacc.h> #define uint unsigned int #define uchar unsigned char-/******* 5510 microcontroller basic test procedure su
reply_1_855734
- // Canny算子 void Canny(LPBYTE pGray, SIZE sz, double sigma, double dRatLow, double dRatHigh, LPBYTE pResult) { //经过高斯滤波后的图像 LPBYTE pGaussSmooth pGaussSmooth = new unsigned char[sz.cx*sz.cy] //x方向导数的指针 int *pGradX pG
fair
- 在程序中由playfair(char *s,int length) 的实现加密和解密;解密原理与加密类似,只是加密过程的逆过程,它基于密文,采用同行取左边,同列取下边,其余取交叉的相反原理;在程序中用FLAG标识区别,当其值为1时,为加密过程;值为0时,为解密过程。-in the proceedings by PLAYFAIR (char * s, int length) the realization of encryption and decryption; encryption and d
etra
- * * Input * bin_data : binary data * bin_size : binary data length * Mode : operation mode * BASE64_NeedCRLF ---- Need a CRLF every 64 base64-character * BASE64_NotCRLF ---- Need not CRLF between 64 base64-character * * Outpu
Steinberg
- 有一点要说明,我们原来介绍的程序都是先开一个char类型的缓冲区,用来存储新图数据,但在这个算法中,因为e有可能是负数,为了防止得到的值超出char能表示的范围,我们使用了一个int类型的缓冲区存储新值。-point to note, we originally introduced procedures are to open a type of char buffer new plan to store data, but at this algorithm, e may be negati
FrequencyScaleConversion
- Frequency Scale Conversion From f To f Scale frq2mel mel2frq mel The mel scale is based on the human perception of sinewave pitch. frq2erb erb2frq erb The erb scale is based on the equivalent rectangular bandwidths of the human ear. frq2mi
usb-char
- 编写的BOOTLOADER用于s3c2410的启动代码,直接引导自己的应用程序-BOOTLOADER prepared for the start s3c2410 code, direct guide their applications
Dynamic_Array
- 动态数组实现, 包括了一个小例子.关键结构如下: typedef struct Nameval Nameval struct Nameval{ char *name int value } struct NVtab{ int nval /* current number of values */ int max /* allocated number of values */ Nameval *nameval /* arr
7290C-datebase
- 此软件包包含了模拟I2C C51程序软件包和ZLG7290的C51程序然后包。 软件包的接口界面: (1) bit ISendByte(uchar sla,uchar c) (无子地址)写单字节数据 (现行地址写) (2) bit IRcvByte(uchar sla,uchar *c) (无子地址)读单字节数据 (现行地址读) (3) bit ISendStr(uchar sla,uchar suba,uchar *s,uchar no)(有子地址)读N字节数据
ghgl
- #include <stdio.h> #include <stdlib.h> #define N 3 struct huowu {char num[10] char name[8] int money[3] int amount[3] }huo[N],temp -# include
ReadMem
- unit ReadMem interface uses TLHelp32,Windows function GetMems(PID:longword baseaddress:string= len:integer=0):string //获取指定进程中的~内存数据 implementation function UpperCase(const S: string): string var Ch:Char L:Inte
c8051f020_8563
- c8051f020 实时时钟模块程序 内含IIC模块程序/********************** SYSTEM CLOCK 8M********************************/ extern unsigned char xdata currenttime[16]={0} extern unsigned char xdata settime[16]={ 0x00, // control regesiter 1
readinifile_H
- /* * 读取INI文件的函数(C语言) * File: readinifile.h * Read INI File * char* GetInitKey(FileName, Section, Key) * Return Key=>Value * + [config] * + dbhost=localhost * * strcpy(dbhost,GetInitKey(\"config.ini\", \"config\", \"dbhost\"))
C51-123
- C51的一些误区和注意事项(ZT) 1)C忌讳绝对定位。 常看见初学者要求使用_at_,这是一种谬误,把C当作ASM看待了。在C中变量 的定位是编译器的事情,初学者只要定义变量和变量的作 用域,编译器就把一个固定地址给这个 变量。怎么取得这个变量的地址?要用指针。比如unsigned char data x 后,x的地址就是... -C51 some errors and attention to the business (ZT) 1) C taboo absolute
SimulateCache
- cache: you will be given a char at will and you should simulate the computer s memory and cache .-cache : you will be given a char at will and you should sim ulate the computer's memory and cache.
cyuanchengxu
- 函数模板T max(T a, T b, T c),使之实现对任何类型数,能从三个数中求出最大数返回。设计各种类型数据(char,short,long,float,double)调用此函数模板。-function template T max (T a, b T, T c), to enable it to achieve any of several types, a few were from the three sought to return to the greatest number.
finaloverridingillusion
- finaloverridingillusion.ziplic class DoWhileDemo { public static void main(String[] args) { String copyFromMe = \"Copy this string until you encounter the letter g .\" StringBuffer copyToMe = new StringBuffer() int i = 0 char
pa
- #include \"define.h\" #include <stdio.h> #include <string.h> #include <ctype.h> #include <malloc.h> FILE *fp /*////////////////////////////////////////////////////////////////////////////// This is a pretreat
Expression-D.S.Report2
- 数据结构课程设计报告,算术表达式求值,自动辨别算符优先级,括号,将char型转换成int计算,再将结果显示,具有精美用户界面-data structure curriculum design, arithmetic expression evaluates automatically identify operator precedence, in brackets, char to int conversion type, the result shows that the user inte
24c01a
- 24C01的读写程序,C51源代码 调用方式:write_8bit(unsigned char ch) ﹫2001/03/23 函数说明:内函数,私有,用户不直接调用。-24C01 literacy procedures, called C51 source code form : write_8bit (unsigned char ch) @ 2001/03/23 function said Ming : internal function, private users not dir