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

📄 mempool.h

📁 这是一个可以检索大量数据的程序
💻 H
字号:
// MemPool.h: interface for the MemPool class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MEMPOOL_H__9776F3D3_64E2_4EE7_971B_41D1A3D0B226__INCLUDED_)
#define AFX_MEMPOOL_H__9776F3D3_64E2_4EE7_971B_41D1A3D0B226__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define NUM 10;

class MemPool  
{
public:
	MemPool();
	bool  create(int the_size);
	void* memalloc();
	void  memfree(void* p);
	virtual ~MemPool();
	virtual void destory();
private:
	char *theblock;
	char *thehead;
	int  size;
	int  space;
};

#endif // !defined(AFX_MEMPOOL_H__9776F3D3_64E2_4EE7_971B_41D1A3D0B226__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -