-
jifen
用c语言编出,求下列积分值得程序, 用 n=10 , 100 , 1000 时的值 和 exact solution 做比较 (Using c language out, find the following points merit program, with n = 10, 100, 1000 and the exact solution value when compared)
- 2013-07-08 15:55:44下载
- 积分:1
-
hafuman
一 . 需求分析:
1) 输入形式和输入值范围:
输入形式是要压缩(或者要解压)的文件路径,输入范围是字符串,而且要是文件的路径。
2) 输出形式:
输出相应的编码压缩文件和解码原文件
3) 程序所能达到的功能:
利用哈夫曼对ASCII文件做不等长编码,达到压缩文件。利用哈夫曼树的遍历,达到解压文件的目的。程序的功能也就是实现压缩和解压ASCII类型文件的目的。
4)测试数据:(包括正确的输入数据及其输出结果和含有错误输入及其输出结果)
测试输入或者输出文本框是不是有空的,是不是不是有效路径。进行条件判断,实现错误处理。
比如要压缩:c:a.txt 文件路径就是:c:a.txt。如果输入框是空的,就判断,然后用MessageBox处理信息。
如果文件路径和文件的输出路径都写正确的话,就会输出相应的压缩或者解压文件,否则用函数MessageBox提示错误。然后进行更正。
二 . 概要设计:
1) 哈夫曼树的特点
a) 是二叉树的一种,而且是一种没有度数是1的二叉树
b) 一棵树有n个叶子,就会用2n-1个节点
c) 一种“最优”二叉树,由于树的带权路径(WPL)最小
d) 由于它是由下到上顺序构造的,使得分支节点和叶子节点从下到上,权值都是从小到大的顺序排列的
()
- 2007-07-16 22:04:12下载
- 积分:1
-
NetProcessAct
说明: 监控上网过程,时下非常流行,用于控制别人也可以(The process of monitoring the Internet, become a very popular, can also be used to control other people)
- 2009-09-03 17:41:26下载
- 积分:1
-
3D
说明: 三维均匀介质的高阶交错网格弹性波方程数值模拟(未加PML吸收边界条件),模拟结果以切边形式显示(Numerical simulation of three-dimensional homogeneous medium of high-order staggered elastic wave equation (not PML absorbing boundary conditions), the simulation results are displayed in the form of trimming)
- 2013-11-25 18:17:06下载
- 积分:1
-
3D-to-2D
这个程序是用来将三维坐标投影成二维的c++程序。(This program is a three-dimensional coordinate projection into two-dimensional C++ program. . .)
- 2021-01-20 14:48:41下载
- 积分:1
-
analysisofIEEE802channel
分析了 IEEE 802.15.4a的信道模型,并分析了现今测距的方法:CHAN与TAYLOR等,并在此基础上做了改进(Analysised the channel of IEEE 802.15.4a,and analysised some methods for TDOA and TOA . )
- 2009-11-27 22:26:07下载
- 积分:1
-
CPP
C++控件大全方便你的查询 易于理解学习是我们的好助手(C++ control Daquan easy to learn easy to understand your query is a good assistant)
- 2011-04-26 21:17:35下载
- 积分:1
-
CDictionary
简单英汉字典程序。功能包括装载单词信息,添加删除单词等。(Simple English-Chinese dictionary program. Features include loading the word information, add and delete words and so on.)
- 2014-02-04 20:59:40下载
- 积分:1
-
Colormap
输入为不同的权值,程序根据权值生成各种类型的colormap的值(Enter a different weight, the program type is generated based on the weight of the value of colormap)
- 2016-04-13 15:53:35下载
- 积分:1
-
zhangzhengyoucalibrate
张正友的摄像机标定源代码,基于vc++和opencv的结合(Zhang Zhengyou camera calibration source code, based on a combination of vc++ and opencv)
- 2014-04-16 12:05:19下载
- 积分:1