搜索资源列表
shop_management
- 编写一个简单的家用电器商店库存模拟操作程序,并且要求商品的库存数据存储在文件 store.txt 中。首先,该程序要能实现从文件中读取当前所有库存信息,然后将其存储在一个结构数组中,并能够实现对库存商品的升序排列、查询、交易、报错、在商品交易后更改库存信息等功能。-Write a simple appliance store inventory simulation procedures, and require the inventory of goods stored in the file
Huffman
- This a program to encode and decode huffman code for strings. The input should be a text file with two dimentional string array.-This is a program to encode and decode huffman code for strings. The input should be a text file with two dimentional str
UseDll
- 将kdu_v22D解压部分软件进行改进,生成DLLTEST.dll输入为J2C格式基地址,J2C格式数组长度,输出为RAW格式文件基地址-Extract the kdu_v22D some software improvements to generate DLLTEST.dll input J2C format base address, the J2C format length of the array, the output RAW format file base address
HuffanCoding
- 读取数据,统计所得到的文件中每个字母的权值,创建哈夫曼树,哈夫曼编码。哈夫曼解码,解码后内容写入到指定的文件。 读取数据里面的内容是由英文单词组成。读取文件的时候传入文件存放的路径、读取方式以及读出以后存放的数组,最终可以得到一个存放目标文件内容的数组。 将得到的数组进行字母权值的统计,统计每个字母出现的次数,次数即为每个字母的权值。 将得到的字符数组与权值数组作为创建哈夫曼树的依据,哈夫曼树根据每个字母权值的大小来创建,每个节点,包括权值、父节点、左子、右子和字母本身。 根据哈
