Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Need help with Huffman coding, please?

  1. #1
    Junior Member
    Join Date
    Mar 2012
    Thanked 0 Times in 0 Posts

    Default Need help with Huffman coding, please?

    I found a source code of Huffman Coding algorithm. After I read the code, I didn't see any problem. So I downloaded it, and tried to run it. But then, it doesn't run (compiling fine). Probably there is something I misunderstood about the instruction of author. Can you guys please help me pointing out the problem here? The instruction said that I'm supposed to put the file name in the command line, but when I did it nothing happened. Here is the link to source code. Please help me!

    The Laws of Cryptography: Huffman Coding Algorithm

    Thank you very much!

  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Washington, DC
    My Mood
    Thanked 636 Times in 540 Posts

    Default Re: Need help with Huffman coding, please?

    If you want help, you'll have to boil the problem down to an SSCCE that demonstrates the problem. Trace through your program with a debugger or even some print statements to figure out where the program flow diverges from the behavior you'd expect.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. Huffman tree help!
    By rmendoza in forum Algorithms & Recursion
    Replies: 1
    Last Post: March 3rd, 2012, 06:36 PM
  2. Replies: 2
    Last Post: February 19th, 2012, 07:36 AM
  3. Need your help to coding
    By Tony_nguyen19 in forum File I/O & Other I/O Streams
    Replies: 2
    Last Post: November 14th, 2011, 08:58 AM
  4. Help Huffman Coding>>
    By cool_97 in forum What's Wrong With My Code?
    Replies: 35
    Last Post: July 23rd, 2011, 04:27 PM
  5. Huffman Tree
    By Aberforth in forum Java Theory & Questions
    Replies: 2
    Last Post: November 9th, 2010, 05:49 AM

Tags for this Thread