数据结构课程设计——哈夫曼编/译码器

上传者: wangshang4133 | 上传时间: 2019-12-21 21:34:53 | 文件大小: 2.72MB | 文件类型: rar
有以下功能: 初始化 从终端读入字符集大小n及n个字符和m个权值,建立哈夫曼树,并将它存于文件hfmtree中 编码 利用已建好的哈夫曼树(如不在内存,则从文件hfmtree中读入),对文件tobetrans中的正文进行编码,然后将结果存入文件codefile中 解码 利用已建好的哈夫曼树将文件codefile中的代码进行译码,结果存入文件textfile中 打印 将文件codefile以紧凑格式显示在终端上,每行50个代码。同时将此字符形式的编码文件写入文件codeprint中 打印哈夫曼树 将已在内存中的哈夫曼树以直观的方式(树或凹入表形式)显示在终端上,同时将此字符形式的哈夫曼树写入文件treeprint中 附带详细的设计报告(最后的课程设计等级被评定为优秀)

文件下载

资源详情

[{"title":"( 37 个子文件 2.72MB ) 数据结构课程设计——哈夫曼编/译码器","children":[{"title":"报告.doc <span style='color:#111;'> 1.59MB </span>","children":null,"spread":false},{"title":"ff","children":[{"title":"ff.pro.user <span style='color:#111;'> 18.04KB </span>","children":null,"spread":false},{"title":"background.jpg <span style='color:#111;'> 213.32KB </span>","children":null,"spread":false},{"title":"queue.cpp <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"B22.png <span style='color:#111;'> 419.61KB </span>","children":null,"spread":false},{"title":"未标题-2.psd <span style='color:#111;'> 79.22KB </span>","children":null,"spread":false},{"title":"image.qrc <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"b2.jpg <span style='color:#111;'> 303.74KB </span>","children":null,"spread":false},{"title":"tre.png <span style='color:#111;'> 64.43KB </span>","children":null,"spread":false},{"title":"huffman.cpp <span style='color:#111;'> 9.09KB </span>","children":null,"spread":false},{"title":"res.qrc <span style='color:#111;'> 281B </span>","children":null,"spread":false},{"title":"leef.png <span style='color:#111;'> 18.71KB </span>","children":null,"spread":false},{"title":"mytree.ui <span style='color:#111;'> 778B </span>","children":null,"spread":false},{"title":"welcome.jpg <span style='color:#111;'> 112.31KB </span>","children":null,"spread":false},{"title":"mydialog.ui <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"text2.png <span style='color:#111;'> 364.41KB </span>","children":null,"spread":false},{"title":"ok.qrc <span style='color:#111;'> 44B </span>","children":null,"spread":false},{"title":"button2.png <span style='color:#111;'> 20.11KB </span>","children":null,"spread":false},{"title":"mydialog.h <span style='color:#111;'> 326B </span>","children":null,"spread":false},{"title":"background.qrc <span style='color:#111;'> 93B </span>","children":null,"spread":false},{"title":"mytree.h <span style='color:#111;'> 348B </span>","children":null,"spread":false},{"title":"ok.cpp <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"b2.qrc <span style='color:#111;'> 222B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"mainwindow.ui <span style='color:#111;'> 5.27KB </span>","children":null,"spread":false},{"title":"ff.pro <span style='color:#111;'> 618B </span>","children":null,"spread":false},{"title":"huffman.h <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"ok.jpg <span style='color:#111;'> 25.76KB </span>","children":null,"spread":false},{"title":"mainwindow.cpp <span style='color:#111;'> 7.02KB </span>","children":null,"spread":false},{"title":"mainwindow.h <span style='color:#111;'> 725B </span>","children":null,"spread":false},{"title":"back.jpg <span style='color:#111;'> 25.05KB </span>","children":null,"spread":false},{"title":"mydialog.cpp <span style='color:#111;'> 345B </span>","children":null,"spread":false},{"title":"button.png <span style='color:#111;'> 5.62KB </span>","children":null,"spread":false},{"title":"queue.h <span style='color:#111;'> 730B </span>","children":null,"spread":false},{"title":"leef2.png <span style='color:#111;'> 19.36KB </span>","children":null,"spread":false},{"title":"text1.png <span style='color:#111;'> 364.34KB </span>","children":null,"spread":false},{"title":"mytree.cpp <span style='color:#111;'> 4.71KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明