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]
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]
What is the error?
You could try this:
Code:struct huffman { struct node Node; treenode left,right; };