搜索资源列表
gads
- #include <stdio.h> unsigned long int crc32_table[256] unsigned long int ulPolynomial = 0x04c11db7 unsigned long int Reflect(unsigned long int ref, char ch) { unsigned long int value(0) // 交换bit0和bit7,
base64src
- C++ Base64编码/解码源代码 inline int Base64Encode(char * base64code, const char * src, int src_len = 0) inline int Base64Decode(char * buf, const char * base64code, int src_len = 0) 以上两个函数内联定义在base64.h中,使用时include \"base64
c51pyshurufa
- 一个用C51实现单片机的中文输入法,拼音输入法杳询函数: unsigned char code * py_ime(unsigned char input_py_val[]) input_py_val为已输入的拼音码字符串头指针,反回值为中文的起始地址,当为0时,杳询失败 -a C51 with the Chinese input method, Pinyin input method disappear with the fu
shuzushixian
- 函数int exit(int)的定义 函数int strcmp(char*,char*)的定义-function int exit (int) of the definition of function int strcmp (char *, char *), the definition
a1229
- 一个C程序,用char *malloc(unsigned size)函数向系统申请一次内存空间-a C program, char * malloc (unsigned size) function to the system for a memory space
a1230
- 一个C程序,用char *malloc(unsigned size)函数向系统申请一次内存空间-a C program, char * malloc (unsigned size) function to the system for a memory space
outhz
- 用TURBOC2.0 编写的在没有汉字系统的DOS下显示汉字的函数,(调用函数:int outhz(int x,int y,char *p,int color),p为所要显示的字符串首址),使用UCDOS的汉字库。-TURBOC2.0 prepared with the Chinese character system in the absence of the DOS display Chinese characters functi
i2c-dev
- i2c-dev.c - i2c-bus driver, char device interface
huidu
- #include \"stdio.h\" #include \"malloc.h\" #define TRUE 1 #define n 39 #define max 500 typedef struct { char p[n] float w[n][n] }graph graph *ga2 int visit[n] int path[n][n] float C[n
_StrSplit
- 根据用户定义char型字符分割字符串,以char型字符为分割符,或是检测括号的配对情况。-under the user-defined type character segmentation char string, char type characters to separate website, or detection of the matching brackets.
EepromMultiWR1912
- SPI接口EEPROM驱动 EEPROMWRITE(绝对地址,数组指针,数据长度) //多字节写 EEPROMREAD(绝对地址,数组指针,数据长度) //多字节读 EEPROMWRITE(绝对地址,数据) //单字节写 (char)数据=EEPROMREAD(绝对地址) //单字节读-SPI EEPROM Driver EEPROMWRIT E (absolute address, the array pointer
5510dedaima
- /*** *5510单片机测试程序 基本测试成功 2005-8-25 write By CW *** *** *** ****/ #include <reg52.h> #include <absacc.h> #define uint unsigned int #define uchar unsigned char-/******* 5510 microcont
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] //
fair
- 在程序中由playfair(char *s,int length) 的实现加密和解密;解密原理与加密类似,只是加密过程的逆过程,它基于密文,采用同行取左边,同列取下边,其余取交叉的相反原理;在程序中用FLAG标识区别,当其值为1时,为加密过程;值为0时,为解密过程。-in the proceedings by PLAYFAIR (char * s, int length) the realization of encryption an
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 ba
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 t
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 bandwidt
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
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,u