Click here to Skip to main content
15,910,980 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to write Huffman code and the algorithm that i think about it is here :
1.ask a sentence
2.count the characters
3.count the time of the repeat of each characters
4. divide (time of the repeat of each characters) and the numbers of all characters

so for it is correct or not?
and i don't know what to do ?
Posted

1 solution

See here[^].
 
Share this answer
 
Comments
yay hello 2-Jun-11 8:04am    
i know but i want to know that with my idea i can reach to anything or not?
Richard MacCutchan 2-Jun-11 8:35am    
Sorry, your question is not clear. I am not an expert in Huffman encoding, I just offered some links that will help you.
yay hello 3-Jun-11 2:29am    
thank you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900