huffcode.h
来自「使用vc++编写的一个实现huffman编码的程序」· C头文件 代码 · 共 29 行
H
29 行
#if !defined(AFX_124_H__80BDBC6F_526D_42E1_8039_78BFC888423A__INCLUDED_)
#define AFX_124_H__80BDBC6F_526D_42E1_8039_78BFC888423A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include<string.h>
class Huffcode //结点类
{
public:
int weight;
Huffcode *left,*parent,*right, *lchild,*rchild;
char Hnode;
Huffcode(int k,char Huf=NULL)
{
weight=k;
Hnode=Huf;
left=NULL;
parent=NULL;
lchild=NULL;
rchild=NULL;
}
~Huffcode(){}
};
#endif // !defined(AFX_124_H__80BDBC6F_526D_42E1_8039_78BFC888423A__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?