In article <87************@benpfaff.org>
bl*@cs.stanford.edu writes:
di*****@gmail.com writes:
I am having a hard time making a Program in C/C++ that uses the Huffman
Compression to compress a file.
I have a file "Hello World" That i need to compress.
I don't think you're going to be able to usefully compress "Hello
World". At most, you could reduce it by a few bytes.
Without quotes Huffman reduces it from 88 bits to 32 bits (11 bytes to
4 bytes). With quotes from 104 bits to 40 buts (13 bytes to 5 bytes).
However, this excludes the table used...
--
dik t. winter, cwi, kruislaan 413, 1098 sj amsterdam, nederland, +31205924131
home: bovenover 215, 1025 jn amsterdam, nederland;
http://www.cwi.nl/~dik/