⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 seghash.h

📁 此代码运行于visual c++ 6.0的环境下
💻 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 + -