Description: Design a Hafu Man codec, the following functions: (1) Initialization: read from the terminal character set size n, n a n-weight character and to establish Huffman tree, into the file hfmTree (2) Coding: Using the Huffman tree has been well-established, the body of the document is encoded, stored in the file CodeFile (3) decoding: the use of already well-established code for decoding Huffman tree or text encoding of the target , into the file TextFile (4) Indian code files: 50 per line, into the file CodePrin (5) Print Hafu Man Tree: t the same time, the character form of the tree into the file TreePrint Hafu Man
To Search:
- [keyinterrupt] - S3C2440 key interrupt the program, four
- [structure] - This is the second year experiment on th
File list (Check if you may need any files):
哈夫曼编译码器.txt
哈夫曼编译码器.doc