hfmtree.cpp
来自「实现了一个相对简单的哈弗曼树的压缩算法」· C++ 代码 · 共 33 行
CPP
33 行
// 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 + =
减小字号Ctrl + -
显示快捷键?