Description: At the sending end through a coding system for encoding transmit data treatment. Will be heard in the receiver to decode the data. A complete system should have the following functions: (1) initialization. Read from the terminal character set size, as well as the characters and the right values, the establishment of Huffman trees, and save. (2) coding. used to build the Huffman tree to encode the text and then save it. (3) decoding. the use of the Huffman tree has been built will document the code decoding, the results print out.
File list (Check if you may need any files):
huff
....\codefile.txt
....\codeprin.txt
....\hfmtree.txt
....\huff.c
....\textfile.txt
....\tobetran.txt
....\treeprint.txt