登录
首页 » Visual C++ » cpp

cpp

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

代码说明:

  首先通过文件操作,读取文件内容,把字符逐个提取后统计字符频率,建立哈夫曼树和进行哈夫曼编码,当然这是根据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 个回复

  • icc
    ic读写源代码,创建文件、读、写等功能的简单实现。(Source code of IC card IO)
    2010-05-21 14:28:14下载
    积分:1
  • wenjianweihuyingyong
    说明:  文件维护应用程序(包括文件的拷贝,改名,删除等)(file maintenance applications (including copy paper, renamed, deleted, etc.))
    2006-03-14 14:55:55下载
    积分:1
  • FileOperate
    win32下,搜索某个目录,及所有子目录下的文件,或删除某个目录及所有子目录下的文件,包括目录(under win32, search a directory and all subdirectories under the documents, or delete a directory and all subdirectories under the documents, including directory)
    2007-09-14 15:25:30下载
    积分:1
  • vbscripd
    在VB中,使用vbscript,jscript等脚本语言,你可以在你的程序中,(In VB, using vbscript, jscript scripting language, such as you can in your program,)
    2017-06-17 10:46:09下载
    积分:1
  • Drawing-description-of-the-event
    绘制描述事件先后顺序的前驱图,可以拖动现有结点的位置,与该结点相连的有向边也随之移动;可以将前驱图存入文件,从文件中取出(Drawing description of the event sequence of the precursor Figure)
    2021-01-12 21:58:48下载
    积分:1
  • Decimal_Binary
    软件技术基础中的十进制转二进制问题,简单的将十进制数转化为二进制数。 (Software technology base in decimal to binary problem, a simple decimal number into a binary number.)
    2013-12-18 17:07:56下载
    积分:1
  • ztf02
    将屏幕不断保存为avi文件的程序,可以用于制作程序演示(screen constantly kept as avi document procedures can be used for the production process demonstration)
    2007-03-09 11:43:34下载
    积分:1
  • analisy
    C++此法分析和此法分析,结果写在txt文件中(C++ This method analysis, and this law analysis, the results written in the txt file)
    2009-10-31 23:08:09下载
    积分:1
  • WzjWordTestDlg
    mfc实现word的文件读,内容写更新以及其他操作(mfc achieved word file read, write content updates and other operations)
    2013-08-13 11:02:52下载
    积分:1
  • vcexcel
    能够成功读写excel的C++代码,读写速度快,代码简单,实现思路很清晰(Can read and write excel C++ code, read and write speed, the code is simple, to achieve clear thinking)
    2012-02-21 20:31:37下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载