This is a console-based personal compression software that I and a few of my colleagues use Dev C ++. I am mainly responsible for coding, including compression algorithms and decompression algorithms. The main implementation is the Hoffmann coding technology, this tool is based on this algorithm and does not work well, and the compression ratio is not very high. Here, I will paste some pictures to see if you are interested. You can download this tool from my resources ,:
Http://d.download.csdn.net/down/2826773/tangxianghenggood
Paste a few pictures below
1. Interface
2. Now we need to compress the following files and check that the file size is 21kb.
3. A compressed file is generated under the current directory. to distinguish it from other files, a suffix file name is added to other files. CPS, which is similar to compression software. RAR the size of the compressed file is 8 KB.
Compressed file size: 8 KB
3. the decompression process and file. In this case, a mark. New is added to the backend of the extracted file. The other files are the same as the original files, and the size is 23 KB.
Decompress the file as follows: