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

📄 hfmtree.cpp

📁 实现了一个相对简单的哈弗曼树的压缩算法
💻 CPP
字号:
// HFMTree.cpp: implementation of the HFMTree class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "compress.h"
#include "HFMTree.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

HFMTree::HFMTree()
{
	data=NULL;
	lchild=0;
	rchild=0;
	parent=0;
	weight=1;

}

HFMTree::~HFMTree()
{

}

⌨️ 快捷键说明

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