Skip navigation.

Southern Park

Haffman Code

This is a program for my friend, it workds as follows:
Coding Part
1. Read "a.dat"
2. Build the Haffman Tree
3. Store the Haffman Coding, and store the Haffman Code in "code.dat"
4. Translate the source file to "01" string via the "Haffman Code", and store them in "b.dat"
5. Translate the "01" string to ASCII Code, and store them in "ASC.dat"
-----------------------
DeCoding Part
6. Load the HaffmanCode
7. Translate the ASCII Code into "01" string, and store them in "d.dat"
8. Translate the "01" string into the file, and store them in "e.dat"

Thus "e.dat" will be the same as "a.dat"
Final.rar

How is a MAC protocol implement?My new homepage

Write a comment

You must be logged in to write a comment. If you're not a registered member, please sign up.

January 2010
S M T W T F S
December 2009February 2010
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30