登录
首页 » Visual C++ » cpp

cpp

于 2013-12-01 发布 文件大小:5213KB
0 226
下载积分: 1 下载次数: 6

代码说明:

  首先通过文件操作,读取文件内容,把字符逐个提取后统计字符频率,建立哈夫曼树和进行哈夫曼编码,当然这是根据ASCII编码来将字符转换为二进制,然后实现前缀编码,然后把编码后的使用二进制流写入相应文件(First through file operations, read the file content, the characters one by one after extracting character frequency statistics, establish a Huffman tree and Huffman encoding, and, of course, this is according to ASCII code to convert characters to the binary, then realize the prefix encoding, and then the encoded using binary stream into the corresponding files )

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • TINofReadandWrite
    通过用户交互的方式形成Delauny三角网,也可以通过读取点(txt)文件画tin并且输出三角网的每条边的起点,终点,线的斜率和截距(Using the way that users control the positions of the points so as to draw the TIN under the rule of Delauny.Besides,it allows the users that call the txt file which records the information of the points(x,y coordinate),namely ,the read function.Last users can output the information for the TIN s every line start point and end point and k,b information(y=kx+b) )
    2020-06-29 01:40:02下载
    积分:1
  • GuPiaoHangQing
    这是一个记录每天股票开盘,收盘的工具,可以保存每天的数据,同事比较今天和前一天的股票数据(This is a record of daily stock opening and closing of the tool, you can save the data every day, the day before today, and colleagues compared the stock data)
    2010-07-22 00:53:32下载
    积分:1
  • caozuoxit
    简单的文件管理系统,实现文件的建立,删除等操作。(The design for Operation System)
    2009-06-30 14:47:51下载
    积分:1
  • writefile
    实现写文件操作的代码,适合初学者学习windows文件编程。(Write-file operation code, suitable for beginners to learn programming windows files.)
    2011-09-13 08:36:56下载
    积分:1
  • sale
    文件输入物品税前价格,通过相应物品的税率计算出物品的售价并显示。(File input goods before prices, tax rates by the corresponding articles of the items priced and displayed.)
    2013-11-08 18:47:23下载
    积分:1
  • GDP
    把名为GDP的文件中的各项内容提取出来,即读字符,然后在屏幕上整齐排列输出(The GDP of the file name of the content is extracted, that is, reading characters, and then neatly arranged on the screen output)
    2010-05-15 18:10:16下载
    积分:1
  • Urdu-Programming-Controls
    最好的从右向左的文输入的unicode显示的代码(The best right-to-left text input unicode code)
    2012-09-09 23:38:31下载
    积分:1
  • cavitation
    说明:  第一次上传东西里面是一个udf文件边界条件设置(From inside the first thing is to set the boundary conditions of a udf file)
    2010-04-08 09:03:40下载
    积分:1
  • wordview_zh-cn
    是有关文档的应用程序,可以浏览文档文件,是一个很好的应用软件(it is about document .We can learn many from which.it is a applition for viewing word.)
    2009-11-28 11:15:41下载
    积分:1
  • diary
    可运行的日记文件,可以记录内容并按时间分类,根据你的输入打开,删改日记文件等(a diary which can be executed so that you can record your diary and date.It can be )
    2013-07-29 02:41:42下载
    积分:1
  • 696516资源总数
  • 106436会员总数
  • 7今日下载