登录
首页 » c » 哈夫曼编码

哈夫曼编码

于 2022-02-16 发布 文件大小:2.88 kB
0 116
下载积分: 2 下载次数: 1

代码说明:

实现哈夫曼编码,代码简单易懂。下载后粘贴在工程中可直接运行,无错。

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

发表评论

0 个回复

  • ROAM-LOD
    ROAM Simplistic Implementation By Bryan Turner brturn@bellsouth.net January, 2000 Project file for MS Visual C++ 6.0. Requires GLUT DLL (www.opengl.org) Adjust program constants in Landscape.h and Utility.cpp. MAPS: Default map is read from HeghtXXX.raw where XXX is the MAP_SIZE (as defined in Landscape.h). If this map is not found, the program attempts to open "Map.ved", a Tread Marks map file. Tread Marks maps will only work for MAP_SIZE == 1024. Also, the MULT_SCALE to view Tread Marks maps correctly is "0.25f". (www.TreadMarks.com) CONTROLS: MOUSE - Hold Left Mouse Button to Rotate View Angle Q - Change Rendering Mode (Wireframe, Lit, Fill, Texture) O - Change View Mode (Observe, Follow, Drive, Fly) W/S - Move forward/back A/D - Rotate left/right (in Observe Mode only) F - Stop Animation R - Toggle Frustum Drawing 0/9 - More/Less Triangles per frame 1/2 - Adjust FOV(ROAM Simplistic Implementation By Bryan Turner brturn@bellsouth.net January, 2000 Project file for MS Visual C++ 6.0. Requires GLUT DLL (www.opengl.org) Adjust program constants in Landscape.h and Utility.cpp. MAPS: Default map is read from HeghtXXX.raw where XXX is the MAP_SIZE (as defined in Landscape.h). If this map is not found, the program attempts to open "Map.ved", a Tread Marks map file. Tread Marks maps will only work for MAP_SIZE == 1024. Also, the MULT_SCALE to view Tread Marks maps correctly is "0.25f". (www.TreadMarks.com) CONTROLS: MOUSE- Hold Left Mouse Button to Rotate View Angle Q- Change Rendering Mode (Wireframe, Lit, Fill, Texture) O- Change View Mode (Observe, Follow, Drive, Fly) W/S- Move forward/back A/D- Rotate left/right (in Observe Mode only) F- Stop Animation R- Toggle Frustum Drawing 0/9- More/Less Triangles per frame 1/2- Adjust FOV)
    2008-09-26 11:28:06下载
    积分:1
  • PT8211(orTM)2Ch16BitDAC_CtrlFuncWritebyC51)
    PT8211/TM8211 2通道16bitDAC控制函数, 包含了完整的控制流程和调用实例。(PT8211/TM8211 2-channel 16bitDAC control functions, including a complete control flow and call instance.)
    2020-12-21 11:29:08下载
    积分:1
  • Dot-Matrix-5x7-(1)
    Dot Matrix 5 x 7 sample progmam , hope you enjoy
    2012-12-11 10:33:42下载
    积分:1
  • Hex_to_ASCII
    十六进制转ASCII码的一段子程序。。。(ASCII code hex switch to a subroutine.)
    2010-12-31 23:14:01下载
    积分:1
  • 维纳滤波
    维纳滤波程序维纳滤波程序维纳滤波程序维纳滤波程序维纳滤波程序维纳滤波程序维纳滤波程序维纳滤波程序维纳滤波程序维纳滤波程序维纳滤波程序维纳滤波程序
    2022-02-02 10:54:47下载
    积分:1
  • Qt下的扫雷软件
        使用qt做的模仿windows的扫雷游戏,有三个难度可以调节,基本还原了原版扫雷的效果。运行流畅,自带扫雷音效。
    2022-02-05 02:33:43下载
    积分:1
  • 安全芯片代码
    基于DDA网络通讯加密的需求,DDA网络导入加密系统。 加密芯片:RJMU101S 最小加密系统构成:1)业务主控MCU+加密模块(加密模块=加密主控MCU+加密芯片)                   2)后台+USBKEY(USBKEY=加密主控MCU+加密芯片)            加密模块内部通讯接口:SPI 加密模块外部通讯接口:UART 加密模块主控MCU额外硬件资源要求:1路主SPI,一路UART,                 &nb
    2022-04-02 01:22:39下载
    积分:1
  • ARMImage_uCOSII_lpc2131
    ucos移植到lpc2131的arm模板(OUT transplanted to the arm template lpc2131)
    2006-09-08 23:46:19下载
    积分:1
  • optimize-
    键是一种标准零件,通常用来实现轴与轮毂之间的周向固定以传递转矩,有的还能实现轴上零件的轴向固定或轴向滑动导向。在键连接设计时,间的高度和宽度根据轴的直径d选取,而键长L则根据轴上零件轮毂宽度B而定,通常L=B-(5—10)mm。键的尺寸确定后,再进行强度校核。而为了保证绝对安全,键的尺寸取值往往都趋于保守,所选键的尺寸大。本程序采用优化设计方法,在满足强度要求的前提下求出键的最小结构尺寸,证明键宽b和键高h的取值可以小于标准值。(Key is a standard part, often used to achieve between shaft and hub to transfer torque to a fixed week, and some can achieve a fixed axis or axial parts of the axial sliding direction. Key connection in the design, height and width between the shaft diameter d according to selection, and the bond length L is based on the width of the wheel shaft parts B and, typically L = B-(5-10) mm. Key size is confirmed, then strength check. In order to guarantee absolute security, key size values ??are often conservative, the size of the selected key to big. The program uses optimization methods to meet the strength requirements of the derived key premise of the minimum structure size, proved key width b and height h of the key values ??can be less than the standard value.)
    2011-09-05 20:16:03下载
    积分:1
  • circle
    a simple graphics application
    2014-02-06 14:23:28下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载