搜索资源列表
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): strin
c8051f020_8563
- c8051f020 实时时钟模块程序 内含IIC模块程序/********************** SYSTEM CLOCK 8M********************************/ extern unsigned char xdata currenttime[16]={0} extern unsigned char xdata settime[16]={ 0x00, // co
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\"
C51-123
- C51的一些误区和注意事项(ZT) 1)C忌讳绝对定位。 常看见初学者要求使用_at_,这是一种谬误,把C当作ASM看待了。在C中变量 的定位是编译器的事情,初学者只要定义变量和变量的作 用域,编译器就把一个固定地址给这个 变量。怎么取得这个变量的地址?要用指针。比如unsigned char data x 后,x的地址就是... -C51 some errors and attention to the busi
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
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 StringBuffe
pa
- #include \"define.h\" #include <stdio.h> #include <string.h> #include <ctype.h> #include <malloc.h> FILE *fp /*/////////////////////////////////////////////////////////////////////
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 r
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 f
BasicControl_Div
- 可以算是学Visual C++的入门~~~~~ 主程序段只有:UpdateData(TRUE) if(m_b==0){ AfxMessageBox(\"除数不为0\") CWnd* pWnd=GetDlgItem(IDC_EDIT2) pWnd->SetFocus() return } int n=m_a/m_b int r=m_a-n*m_b
spidmadriver
- 本驱动程序在linux2.6.17中测试通过。yangxing msn:lelma_yx@hotmail.com 希望对SPI操作的朋友有所帮助。 一、工作方式: 从设备:SPI为MASTER模式 S3C2410:SPI为SLAVE模式+DMA 二、工作流程 1.S3C2410从接收:当从设备发送数据时,S3C2410利用DMA方式收数,收到指定长度的数据,则进入DMA中断,将接收的数据拷出。 2.S3
AVRusart
- avr应用有关使用注意事项如下 1 在使用例子程序之前将库文件libslavr.a 拷贝到ICCAVR 安装目录下的库文件目录中 即...\\LIB\\目录将头文件slavr.h 拷贝到头文件目录即...\\include\\目录 2 如果想使用库文件中的函数那么设置如下 1) 在文件中应使用 \"#include <slavr.h>\"包含slavr.h 头文件 2) 在工程选项中的Additional
Linux24_char_device_driver
- Linux 2.4内核字符设备驱动开发实例。 是Linux下驱动开发人员再好不过的参考源码。编译之后加载驱动,附有测试程序进行驱动的测试! Linux kernel 2.4 char device driver example.-character device driver development example. Linux is driven development staff a better r
ddzdaima
- object frmMain: TfrmMain Left = 0 Top = 200 Width = 1024 Height = 205 Caption = frmMain Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Nam
AT89C51CHARLCD
- 这是用51单片机开发的char字符型LCD的驱动程序,使用了0号定时器和0号中断,注释详细。有函数DispOneChar显示一个字符,LcdReset,LcdWriteCommand,LcdWriteData,WaitForEnable,Delay400Ms定时器延时-This the 51 MCU Development char character LCD driver, the use of 0, 0 and the timer
51XXMP3
- 曲谱存贮格式 unsigned char code MusicName{音高,音长,音高,音长...., 0,0} 末尾:0,0 表示结束(Important) 音高由三位数字组成: 个位是表示 1~7 这七个音符 十位是表示音符所在的音区:1-低音,2-中音,3-高音 百位表示这个音符是否要升半音: 0-不升,1-升半音。 音长最多由三位数字组成: 个位表示音符的时值,其对应关系是: |数值(n): |0 |1 |2 |
pingyinshuru
- 拼音输入法杳询函数: unsigned char code * py_ime(unsigned char input_py_val[]) input_py_val为已输入的拼音码字符串头指针, 反回值为中文的起始地址,当为0时,杳询失败 应用举例:-Pinyin input method is unable to exercise functions : unsigned char code py_ime * (unsig
MAX187FORMHU
- 这个是我写的MAX187驱动程序 unsigned char bdata Date,Adss unsigned char idata point,gew,shw sbit clk=P1^5 sbit cs187=P1^6 sbit dout=P1^7 sbit Abit=Adss^7 sbit Abit1=Adss^0 sbit Dbit=Date^7 sbit Dbit1=Da