Click here to Skip to main content
15,881,831 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
Hi
I need to Huffman Code Algorithm for me so that you can see in this picture. File should be a 2D array. The weight and character of the user is taken to a 2D array.
Please help me.

http://en.wikipedia.org/wiki/File:Huffman_huff_demo.gif
Posted
Comments
Sergey Alexandrovich Kryukov 27-Jul-11 13:57pm    
Not a question. Do you expect someone write the code for you? Why? Who would be interested in doing it for you?
--SA

Would you like us to quote on writing this for you, or would yo prefer to write it yourself and just ask us for free help ?
 
Share this answer
 
Comments
esmailian 27-Jul-11 15:07pm    
The purpose of this question by people who already have problems with this issue. And the problem has been solved
You really need to put some effort in your work if you want to get any results.

I'm pretty much sure you already know where to find complete description of the algorithm: http://en.wikipedia.org/wiki/Huffman_coding[^]. This article includes many good Web links to implementations of the algorithm: C, Python.

This article provides implementations in 27 languages (!): http://rosettacode.org/wiki/Huffman_codes[^].

Some of the implementation will look very similar to C#: especially Java, more or less C++, Ada (looks different but essentially very close as definitions of arithmetic operators are used). Algorithm itself is quite simple, especially when it's explained to you in such a detailed way. So, what's remaining problem? Implementation in C# using available samples? But what are you good for? I don't think anyone would be interested enough to do this work for you. The most interested person here is you. Put some effort and have the result.

—SA
 
Share this answer
 
Comments
esmailian 27-Jul-11 15:05pm    
Thank my friend . but it not my answer . I try to make this code with c#
Sergey Alexandrovich Kryukov 27-Jul-11 15:37pm    
What do you mean "not my answer"? Write it in C#, it's your turn. If you have problems, we would gladly help you.
--SA

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