本文包含两个文件的代码和一张测试效果图:HuffmanCD.h文件:从叶到根逆向求哈夫曼编码HuffmanCodingTest.cpp文件:用于测试效果图:(如下)效果图:HuffmanCD.h文件:include<stdio.h>include<stdlib.h>include<string.h>typedefstruct{intweight;intparent,lchild,rchild;}HTNode,HuffmanTree;typedefcharHuffmanCode;动态分配数组存储哈夫曼编码表voidSelect(HuffmanTreeHT,intn,int&s1,int&s2){intminum;定义一个临时变量...