abysspell 0 Newbie Poster

Hi All,

I'm working on building a program that will allow a user to encode and decode a string of characters.
I have a priority queue of all the characters and their corresponding frequencies, information needed to make the Huffman Tree, however this is where I'm stuck.
How would I go about creating the Huffman Tree?

Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.