📄 seghash.h
字号:
// SegHash.h: interface for the CSegHash class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SEGHASH_H__72416143_1837_447C_BA9F_601B0B3B919E__INCLUDED_)
#define AFX_SEGHASH_H__72416143_1837_447C_BA9F_601B0B3B919E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <iostream>
using std::cout;
using std::endl;
struct node
{
char key[50];
node * link;
};
class CSegHash
{
public:
int M;
node** N;
void clear();
CSegHash(int );
CSegHash();
void SetLength(int length);
void Insert(const char*);
bool Find(const char*);
int ELFhash(const char* key);
virtual ~CSegHash();
//int M;
//node** N;
};
#endif // !defined(AFX_SEGHASH_H__72416143_1837_447C_BA9F_601B0B3B919E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -