搜索资源列表
-
0下载:
在VC6.0环境下,用C实现串的基本操作:初始化串、求串长、比较两串大小、测试串是否为空、取子串、统计串中某子串个数等。文件中不仅包含源码 ,还包含一组测试结果。-At VC6.0 environment, using C string realize the basic steps: initialization string, and string length, comparing two strings of size, to test whether the string is emp
-
-
0下载:
数据结构的链栈C++代码,实现链栈的初始化,入栈,出栈,取栈顶元素等操作-The chain of stack data structure C++ code to achieve the chain of stack initialization, stack, a stack, take the top element and other operations
-
-
0下载:
利用二叉树结构实现赫夫曼编/解码器。
基本要求:
1、初始化:能够对输入的任意长度的字符串s进行统计,统计每个字符的频度,并建立赫夫曼树
2、建立编码表:利用已经建好的赫夫曼树进行编码,并将每个字符的编码输出。
3、编码:根据编码表对输入的字符串进行编码,并将编码后的字符串输出。
4、译码:利用已经建好的赫夫曼树对编码后的字符串进行译码,并输出译码结果。
5、打印:以直观的方式打印赫夫曼树(选作)
6、计算输入的字符串编码前和编码后的长度,并进行分析,讨论赫夫曼编码的
-
-
0下载:
一个完整的系统应具有以下功能:
(1) I:初始化(Initialization)。从终端读入字符集大小n,以及n个字符和n个权值,建立赫夫曼树,并将它存于文件hfmTree中。
(2) E:编码(Encoding)。利用已建好的赫夫曼树(如不在内存,则从文件hfmTree中读入),对文件ToBeTran中的正文进行编码,然后将结果存入文件CodeFile中。
(3) D:译码(Decoding)。利用已建好的赫夫曼树将文件CodeFile中的代码进行译码,结果存入文件Textfil
-
-
0下载:
设计一个哈弗曼编译码器,功能如下:
(1) 初始化:从终端读入字符集大小n,n个字符和n个权值,建立哈夫曼树,存入文件hfmTree
(2) 编码:利用已建立好的哈夫曼树,对文件中的正文进行编码,存入文件CodeFile
(3) 译码:利用已建立好的哈夫曼树将代码进行译码;或对目标正文编码,存入文件TextFile
(4) 印代码文件:50个每行,存入文件CodePrin
(5) 打印哈弗曼树:t同时将字符形式的哈弗曼树存入文件TreePrint
-Design a Ha
-
-
0下载:
数据结构算法源码。链表的初始化、插入、删除、按值查找、等等操作-Source data structure algorithms. Initialization list, insert, delete, find by value, so operating
-
-
0下载:
堆栈结构的初始化和使用编程的工程文件,感码规范较好,易于阅读-Stack structure initialization and use programming project file , a sense code specification is better, easier to read
-
-
0下载:
队列结构的初始化和使用的编程项目文件,代码规范是更好,更方便阅读-Queue structure initialization and use programming project files, code specification is better, easier to read
-
-
0下载:
顺序表结构的初始化和使用的编程项目文件,代码规范是更好,更易于阅读-The initialization sequence table structure and use of the programming project files, code specification is better and easier to read
-
-
0下载:
源程序(C语言)对二叉树进行了一些基础操作,包括二叉树的初始化,遍历(先序)输入,凹入表输出等。-Source code (C language) had some basis for binary operations, including the initialization of a binary tree traversal (first order) input, recessed table output.
-
-
0下载:
哈弗曼编/译码器,实现以下功能:初始化,编码,译码,打印代码文件,打印哈夫曼树-Huffman encoder/decoder, the following functions: initialization, encoding, decoding, printing code file, print Huffman tree
-
-
0下载:
该源码实现了严蔚敏数据结构中的栈部分算法,主要包括栈的初始化,出栈,入栈,取栈顶等算法。-The source code to achieve the YanWeiMin part stack in data structure algorithms, including the initialization of the stack and the stack, stack, take the algorithm such as the stack.
-
-
0下载:
用C语言实现的红黑树代码,包括初始化和插入删除-Using C language implementation of red-black tree code, including initialization and insertion and deletion
-
-
0下载:
使用C++语句,创建出链表的源代码。涉及到链表的生成,初始化等步骤-Use C++ statements to create a list of source code. It relates to the generation of the list, initialization step
-