Description: (1) I: initialization, read from the terminal n-n-weight character and to build the Huffman tree, and store it in the file HuffmanTree.
(2) E: coding. Using Huffman tree has been well-established, the body of data to be transferred (in the existing file ToBeTran.txt) encoding, the result code deposit (transfer) to a file in the CodeFile.
(3) D: decoding. Use of the Huffman tree has been completed, the transmission of data to reach the CodeFile code decoding, the decoding results stored in the file TestFile.
(4) P: printing documents. CodeFile file to the terminal on the compact format, each line of code 50. While this character is written in the form of the encoded file in the file CodePrin.
(5) T:, India Huffman tree, the Huffman tree in memory in an intuitive way (for the tree or recess in the form of tables) displayed in the terminal, but this character in the form of encoded file written to the file TreePrin in.
To Search:
File list (Check if you may need any files):
hafumanshu\haffuman.c
hafumanshu