摘要:
#include <conio.h>#include <stdio.h>#include <stdlib.h>#include <string.h>typedef struct{ int weight; int parent, lchild,rchild;}HTNode, *HuffmanTree;typedef char ** HuffmanCode;void HuffmanCoding(HuffmanTree &HT, HuffmanCode &HC, int *w, int n); //w存放n个字符的权值,构造赫夫曼书HT 阅读全文
posted @ 2012-11-23 19:53
Still_Raining
阅读(310)
评论(0)
推荐(0)
浙公网安备 33010602011771号