实现文件读写操作 typedef struct{ int weight; int s; int parent,lchild,rchild; }HTNode,*HuffmanTree; typedef char * *HuffmanCode; void Select(HuffmanTree &HT,int i,int &s1){ //查找频度最小的两个字符