Huffman编码生成程序(2)
原作者:www.upwinder.com 添加时间:2007-09-02 原文发表:2007-08-31 人气:248 来源:本站原创
本文章共1702字,分2页,当前第2页,快速翻页:
| | if(HT[th.Parent].RChild == tc){flag[top] = 'R'; tc = th.Parent;} th = HT[Stack[top]];//下一结点; } while(top != -1) { if(flag[top] == 'L')hc[i].code[j ] ='0'; elsehc[i].code[j ] ='1'; 逆风编程精品 Stack[top--];//出栈; } hc[i].code[j] ='\0';//当前串结束; } } //================================================================================ 本文章更多内容:<<上一页 - 1 - 2 |
 本文章所属分类: 首页
→ 数据结构
|
文章搜索
热门文章
推荐文章
最新文章
|