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? |
|