ne1 can sort it out?

This is a discussion on ne1 can sort it out? within the C Programming forums, part of the General Programming Boards category; its giving error.can ne1 show the way? [code] typedef struct huffman * treenode; struct node { int freq; unsigned char ...

  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,386
    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, 05:03 AM
  2. threaded merge sort
    By AusTex in forum Linux Programming
    Replies: 4
    Last Post: 05-04-2005, 05: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, 01: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21