搜索资源列表
transfer_char_to_key
- VC7.1中如果将char*作为key的话需要重载关于char*的hash_compare函数 可是我怎么都没法搞定 只好将char*转为int,反正指针地址总是唯一的,然后重载关于 int的hash_compare函数,使用时将char*强制转为int即可我想除了用STLPort外,应该还有更好的方法吧 -VC7.1 which will char * key as the need for heavy char * has h_compare function but I h
equ
- 编写具有如下函数原型的递归与非递归两种函数equ,负责判断数组a与b的前n个元素值是否按下标对应完全相同,是则返回true,否则返回false。并编制主函数对它们进行调用,以验证其正确性。 bool equ(int a[], int b[], int n) 提示:递归函数中可按如下方式来分解并处理问题,先判断最后一个元素是否相同,不同则返false;相同则看n是否等于1,是则返回true,否则进行递归调用(传去实参a、b与 n-1,去判断前n-1个元素的相等性),并返回递归调用的结果
Prt_Demo
- 通用报表打印类使用说明 主要功能: 1 – 自动分页 2 – 自动划出纵横表格线 3 – 支持横向 / 纵向打印 4 – 支持打印输出或生成文本文件 使用方法: 1.Copy prt.h, prt.cpp --- > Project Path 2.Menu --- > Project --- > Add to project --- > files ( prt.h, prt.cpp ) 3.Menu --- > open ---
LED
- 程序编写,LED动态显示12345678 #include<reg52.h> #define uchar unsigned char #define uint unsigned int uchar code duma[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f, //共阴的数码管段选.将值送给P2口 0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71,0x40,0x80,0x00}
foad_cap_sensor_CODEVISION_SOURCE
- Chip type : ATmega16 Program type : Application Clock frequency : 16.000000 MHz Memory model : Small Optimize for : Size (s)printf features : int, width (s)scanf features : int, width External SRAM size : 0 Data Stack size :
mydll
- 简单的加减法dll文件,功能函数int Sum(int a,int b),int Sub(int a,int b)-Simple addition and subtraction dll files, features, functions int Sum (int a, int b), int Sub (int a, int b)
mydll1
- 简单的dll文件,包含求两个数的最大值最小值得功能函数,函数接口int Max(int a,int b),int Min(int a,int b)-Simple dll file that contains the maximum number of minimum requirements two worthy performance function, the function interface int Max (int a, int b), int Min (int a, int b)
ScanfDLL
- 简单的dll文件,包含接收一串整数输入的功能函数,以回车结束输入,函数接口int *scan()-Simple dll file that contains the function receives a string of integer input function to enter the end of the input function interface int* scan ()
PrintfDLL
- 简单的整数数组输出dll文件,包含输出一串整数的功能函数,函数接口void prin(int *buff).(说明:其中buff第一个整数为后面有效输出整数的个数)-Simple integer array output dll file containing a string of integers output function, function interfaces void prin (int* buff). (Note: buff first integer which is the