登录
首页 » Visual C++ » cpp

cpp

于 2013-12-01 发布 文件大小:5213KB
0 255
下载积分: 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 个回复

  • ExcelFormat_src
    C++中对EXCEL的操作,包含绝大部分EXCEL的功能,如单元格格式操作等。(There has been the C++ project BasicExcel for quite some years now. It is very useful to read and write Excel sheets in .xls format. However, it contains only very basic functionality. There are missing features like text formatting using fonts, and display formats and formulas are not yet supported. This article covers this additional functionality. The new, derived project ExcelFormat is based on the old BasicExcel code, and just adds what I was missing for my own needs. If you want to see where I am using the new library, you can look at the Export functions of Service Manager and Uninstall Manager.)
    2020-07-09 17:48:55下载
    积分:1
  • pcd
    这是点云库学习pcl里面的程序中所提到的pcd格式的文件。(point cloud pcd)
    2020-11-25 10:59:32下载
    积分:1
  • ReplaceFileName
    ReplaceFileName,批量文件名更改 ,批量文件名更改(ReplaceFileName, Bulk file name changes, batch file name change)
    2008-04-04 23:56:23下载
    积分:1
  • g024_vb-sol
    扑克牌源代码,比较很好用的VB代码!!是个智慧游戏代码 (Poker source code)
    2009-06-22 10:21:18下载
    积分:1
  • actual_emissivity
    计算粗糙海面发射率,使用C++,输出发射率数据文件(Calculation rough sea surface emissivity, using C++, the output data file of emissivity)
    2016-06-02 12:02:29下载
    积分:1
  • ReadExcel
    对excel的文件处理。打开直接能用,挺简单的。(Excel file for processing. I can open a direct, very simple.)
    2014-03-05 23:44:20下载
    积分:1
  • DicomReadOCX
    RunDCM 给定Dicom文件名称,图片将按该文件明保存为.bmp文件 属性 info 返回一个字符串,包含Dicom信息 也支持Bmp->Dicom但接口暂没开放,需要的 如有需要请与我联系:QQ:649271743 Hotmail:xyzyjg@hotmail.com(RunDCM given Dicom file name, Photo will be the preservation of documents. bmp file attributes info to a string, Dicom information is also included support Bmp-)
    2007-05-28 11:54:04下载
    积分:1
  • CPPExcel
    VC2003下编译运行正确,ODBC操作EXCEL表格,拷贝即可使用。(VC2003 compile and run correctly, ODBC operation EXCEL form, copy can be used.)
    2016-10-31 16:27:16下载
    积分:1
  • FileSplitter
    这是一个文件分割器,内部有详细的代码注解,非常不错(This is a file splitter, it has a detailed code comments, very good)
    2010-05-20 11:22:17下载
    积分:1
  • server
    一个文件管理系统,服务器端 客户端链接之后便可以运行(A document management system, server-side link and then the client can run)
    2008-07-22 14:17:42下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载