搜索资源列表
Hash
- 假设哈希函数是完美的,即可以把输入数据均匀的分散在哈希表上。 哈希表大小为H,插入数据数量为K,求哈希表的冲突率,要推导过程。 具体一下:假设有20W待插入数据,Hash表大小为60W,求hash表的冲突率。-Suppose the hash function is perfect, that is, input data can be uniformly dispersed in the hash table. Hash table size H, insert the data qu
mylist
- 纯C语言实现的通用链表(类)源代码 纯C语言代码实现的通用链表(类)源代码,可在bc++、tc,tc++等这些老古董编译器以及gcc、vc6.0、vc2005中通过编译,觉得不错的下载研究研究,不能抓到截图。 一些说明: 为了可扩展使用,下面的结点结构中用TYPE指定数据类型,使用时请按照需要在list_def.h中把TYPE定义为合适的类型,并且提供三个原型函数,第一个用来为TYPE类型的数据赋值,第二个判断两个TYPE类型的数据是否相等,第三个用来打印(显示)TYPE
4
- 名字冲突。 程序员甲在头文件header1.h中定义了类Student和函数fun。-Name conflict. A programmer defined in the header file header1.h Student and function of the class fun.
RSA
- 文件里包含了头文件(rsa.h),主函数(main.c)还有rsa.c。用C语言实现的一种非对称加密算法。拿出来给大家分享一下-The file contains header files (rsa.h), the main function (main.c) rsa.c. A non-symmetric encryption algorithm with C language. Out for everyone to share
class
- 人财政支出管理,因为我觉得这个程序非常实用,编完了以后自己也可以使用。按照原来的格式,是普通的结构化程序设计,而且是面向过程的,程序中没有使用类或对象,结构比较清晰。它使用了四个头文件都是来源于C语言的标准库函数,分别是:1 #include<iostream.h> 2 #include<fstream.h> 3 #include<conio.h> 4 #include<iomanip.h>。第一个控制文件输入输出,是流类库中最常用的头文件。它包含
CPPUses-math.h
- 上面是C++调用C函数库内函数的代码。代码的含义是:如果这是一段cpp的代码,那么加入extern C {和}处理其中的代码。-The above is a C++ function calls the C function library code. The meaning of the code is: if this is a cpp code, then join extern C {and} handle wherein code.
RNT
- 时间函数举例4,一个猜数游戏,判断一个人反应快慢。 程序源代码: #i nclude time.h #i nclude stdlib.h #i nclude stdio.h -Function of time, for example 4, a guessing game to determine a person reaction speed.