char

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

VC7.1中如果将char*作为key的话需要重载关于char*的hash_compare函数 可是我怎么都没法搞定 只好将char*转为int

VC7.1中如果将char*作为key的话需要重载关于char*的hash_compare函数 可是我怎么都没法搞定 只好将char*转为int,反正指针地址总是唯一的,然后重载关于 int的hash_compare函数,使用时将char*强制转为int即可我想除了用STLPort外,应该还有更好的方法吧

学生成绩管理 假设有一个班级的学生n人

学生成绩管理 假设有一个班级的学生n人,期末考试老师要对成绩从高到低列出,并对各科的考试成绩求出其最高分、最低分和平均成绩。现在设计一个成绩管理程序,能够实现以下的功能: (1)对某门科目的成绩进行排序并显示输出; (2)求出每门科目的最高分、最低分和平均分的信息; 学生成绩的数据用结构数组表示,包括:学号、姓名、三门科目的考试成绩,其结构格式如下: 学号 姓名 语文 数学 外语 C

display a char with the position and ascci data

display a char with the position and ascci data

拼音输入法杳询函数: unsigned char code * py_ime(unsigned char input_py_val[]) input_py_val为已输入的拼音码字符串头指针

拼音输入法杳询函数: unsigned char code * py_ime(unsigned char input_py_val[]) input_py_val为已输入的拼音码字符串头指针, 反回值为中文的起始地址,当为0时,杳询失败 应用举例:

这是用51单片机开发的char字符型LCD的驱动程序

这是用51单片机开发的char字符型LCD的驱动程序,使用了0号定时器和0号中断,注释详细。有函数DispOneChar显示一个字符,LcdReset,LcdWriteCommand,LcdWriteData,WaitForEnable,Delay400Ms定时器延时

#include "intrins.h" unsigned char SystemError sbit SCL= P1^6 //定义串行时钟线所在口 使用时根据自己的需要 sbit SDA=

#include "intrins.h" unsigned char SystemError sbit SCL= P1^6 //定义串行时钟线所在口 使用时根据自己的需要 sbit SDA= P1^7 //定义串行数据线所在口 使用时根据自己的需要 #define SomeNOP() {_nop_() _nop_() _nop_() _nop_() }

Linux 2.4内核字符设备驱动开发实例。 是Linux下驱动开发人员再好不过的参考源码。编译之后加载驱动

Linux 2.4内核字符设备驱动开发实例。 是Linux下驱动开发人员再好不过的参考源码。编译之后加载驱动,附有测试程序进行驱动的测试! Linux kernel 2.4 char device driver example.

本驱动程序在linux2.6.17中测试通过。yangxing msn:lelma_yx@hotmail.com 希望对SPI操作的朋友有所帮助。 一、工作方式: 从设备:SPI为MASTE

本驱动程序在linux2.6.17中测试通过。yangxing msn:lelma_yx@hotmail.com 希望对SPI操作的朋友有所帮助。 一、工作方式: 从设备:SPI为MASTER模式 S3C2410:SPI为SLAVE模式+DMA 二、工作流程 1.S3C2410从接收:当从设备发送数据时,S3C2410利用DMA方式收数,收到指定长度的数据,则进入DMA中断,将接收

24C01的读写程序

24C01的读写程序,C51源代码 调用方式:write_8bit(unsigned char ch) ﹫2001/03/23 函数说明:内函数,私有,用户不直接调用。

数据结构课程设计报告,算术表达式求值,自动辨别算符优先级,括号,将char型转换成int计算,再将结果显示,具有精美用户界面

数据结构课程设计报告,算术表达式求值,自动辨别算符优先级,括号,将char型转换成int计算,再将结果显示,具有精美用户界面

#include "define.h" #include <stdio.h> #include <string.h> #include <ctype.h>

#include "define.h" #include <stdio.h> #include <string.h> #include <ctype.h> #include <malloc.h> FILE *fp /*//////////////////////////////////////////////////////////

函数模板T max(T a, T b, T c),使之实现对任何类型数

函数模板T max(T a, T b, T c),使之实现对任何类型数,能从三个数中求出最大数返回。设计各种类型数据(char,short,long,float,double)调用此函数模板。

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 simulate the computer s memory and cache .

/* * 读取INI文件的函数(C语言) * File: readinifile.h * Read INI File * char* GetInitKey(FileName, Section,

/* * 读取INI文件的函数(C语言) * File: readinifile.h * Read INI File * char* GetInitKey(FileName, Section, Key) * Return Key=>Value * + [config] * + dbhost=localhost * * strcpy(dbhost,GetInitKey("co

c8051f020 实时时钟模块程序 内含IIC模块程序/********************** SYSTEM CLOCK 8M********************************/

c8051f020 实时时钟模块程序 内含IIC模块程序/********************** SYSTEM CLOCK 8M********************************/ extern unsigned char xdata currenttime[16]={0} extern unsigned char xdata settime[16]={

嵌入式烧写

<p class="NewStyle15" style="margin-left:18.0000pt;text-indent:-18.0000pt;"> 1、&nbsp;把内核解压到根目录下 </p> <p class="MsoNormal"> &nbsp; </p> <p class="MsoNormal"> tar&nbsp;jxvf&nbsp;&nbsp;xxxxxxxx.tar.bz

* * Input * bin_data : binary data * bin_size : binary data length * Mode : operation mode

* * 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

根据用户定义char型字符分割字符串

根据用户定义char型字符分割字符串,以char型字符为分割符,或是检测括号的配对情况。

i2c-dev.c - i2c-bus driver, char device interface

i2c-dev.c - i2c-bus driver, char device interface

一个用C51实现单片机的中文输入法,拼音输入法杳询函数: unsigned char code * py_ime(unsigned char input_py_val[]) input_py_va

一个用C51实现单片机的中文输入法,拼音输入法杳询函数: unsigned char code * py_ime(unsigned char input_py_val[]) input_py_val为已输入的拼音码字符串头指针,反回值为中文的起始地址,当为0时,杳询失败