代码搜索:hashtable
找到约 7,854 项符合「hashtable」的源代码
代码结果 7,854
www.eeworm.com/read/185058/9059268
h hashtable.h
#include "Onelink.h" //单链表类
class HashTable //拉链法的哈希表类
{
public:
OnelinkNode *table; //指向哈希表数组的指针
int size;
www.eeworm.com/read/381834/9068885
h hashtable.h
/*****************************************************************/
/*
* Copyright (c) 2008,北京归创科技有限公司技术部
* All rights reserved.
*
* 文件名称:hashtable.h
* 用 途:哈希表的接口说明
* 创建日期:2008年5月29日
*/
www.eeworm.com/read/381834/9068929
c hashtable.c
/*****************************************************************/
/*
* Copyright (c) 2008,北京归创科技有限公司技术部
* All rights reserved.
*
* 文件名称:hashtable.c
* 用 途:哈希表的实现
* 创建日期:2008年5月29日
*/
/
www.eeworm.com/read/380114/9163310
exe hashtable.exe
www.eeworm.com/read/380114/9163658
exe hashtable.exe
www.eeworm.com/read/380114/9163671
txt hashtable.txt
//哈希表hashtable.cpp
#include
#include
#include
#include
#include
//user data stored in hash table
typedef struct
{int stuff;
www.eeworm.com/read/380114/9163721
cpp hashtable.cpp
//哈希表hashtable.cpp
#include
#include
#include
#include
#include
//user data stored in hash table
typedef struct
{int stuff;
www.eeworm.com/read/183301/9170741
exe hashtable.exe
www.eeworm.com/read/183301/9170751
txt hashtable.txt
hashtable.cpp运行结果:
ran ht,10 items,10 hashTable
插入结果
key[ 0]= 17 key[ 1]= 62 key[ 2]= 96 key[ 3]= 9 key[ 4]= 71
key[ 5]= 75 key[ 6]= 53 key[ 7]= 12 key[ 8]= 88 key[ 9]= 11
查找结果
key[ 9]= 11
www.eeworm.com/read/183301/9170796
cpp hashtable.cpp
//哈希表hashtable.cpp
#include
#include
#include
#include
#include
#include
//user data stored in hash table
typedef struct
{int st