Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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 27-Jul-11 8:38am
Comments
SAKryukov at 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
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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 ?
  Permalink  
Comments
esmailian at 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
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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
  Permalink  
Comments
esmailian at 27-Jul-11 15:05pm
   
Thank my friend . but it not my answer . I try to make this code with c#
SAKryukov at 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)

  Print Answers RSS
0 OriginalGriff 240
1 Kamal Rocks 184
2 PIEBALDconsult 150
3 BillWoodruff 148
4 Jochen Arndt 135
0 OriginalGriff 5,695
1 DamithSL 4,506
2 Maciej Los 4,007
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


Advertise | Privacy | Mobile
Web02 | 2.8.141216.1 | Last Updated 27 Jul 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100