Thread: ne1 can sort it out?

  1. #1
    BEEP BEEP
    Guest

    ne1 can sort it out?

    its giving error.can ne1 show the way?
    [code]
    typedef struct huffman * treenode;

    struct node
    {
    int freq;
    unsigned char ch;
    };

    struct huffman
    {
    node Node;
    treenode left,right;
    };
    [\code]

  2. #2
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    What is the error?

    You could try this:

    Code:
    struct huffman
    {
    struct node Node;
    treenode left,right;
    };

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Straight Insertion Sort function problem
    By StaticKyle in forum C++ Programming
    Replies: 6
    Last Post: 05-12-2008, 04:03 AM
  2. threaded merge sort
    By AusTex in forum Linux Programming
    Replies: 4
    Last Post: 05-04-2005, 04:03 AM
  3. Sorting
    By vasanth in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 11-10-2003, 05:21 PM
  4. radix sort and radix exchange sort.
    By whatman in forum C Programming
    Replies: 1
    Last Post: 07-31-2003, 12:24 PM
  5. Shell Sort vs Heap Sort vs Quick Sort
    By mackol in forum C Programming
    Replies: 6
    Last Post: 11-22-2002, 08:05 PM