/*哈夫曼编码*/ #include <iostream> using namespace std; //*** //构造哈夫曼树 //*** /*哈夫曼树顺序表的定义*/ typedef struct { intweight; intparent,lchild,rchild; }HTNode; typedef HTNode * HuffmanTree; /*初始化一个哈夫曼树*/ void InitHuffmanTree(HuffmanTree&HT,int m) { inti; HT...