Discussion Board
There are no previous messagesGo to the following message
Current Forum: Homework 4 - Huffman Trees (Part 1)
Date: Sat Oct 6 2001 3:41 pm
Author: Juneja, Ajay K. <juneja@cmu.edu>
Subject: the Huffman header

The given function to write the Huffman header expects a vector of HuffmanCharFreq's. However, isn't the header supposed to contain the characters and their CODES, not their FREQUENCIES? Since the code cannot be written as a single int, we can't use the HuffmanCharFreq class to represent an object in the code table. Can anyone help?
Post response

There are no previous messagesGo to the following message
Current Thread Detail:
the Huffman header      Juneja, Ajay K.      Sat Oct 6 2001 3:41 pm       
Re: the Huffman header      Maxim, Michael G.      Sun Oct 7 2001 3:17 pm       

Back to previous screen