K
Kabeer
Hi All,
In my .h file I give definition as
typedef struct node {
struct node *next; /* Points at the next node in the
list */
struct node *previous; /* Points at the previous node in
the list */
}NODE;
but when I use it in my .C the compiler says
NODE * LLClass::lstFirst (MyLIST *myList)
{
return(myList->node.next);
}
Error 419: line 368 # 'NODE' is used as a type, but has not been defined as
a type.
I am not able to judge where the code is wrong
Anyone have any clue...?
Thanks in Advance,
Vijay.
In my .h file I give definition as
typedef struct node {
struct node *next; /* Points at the next node in the
list */
struct node *previous; /* Points at the previous node in
the list */
}NODE;
but when I use it in my .C the compiler says
NODE * LLClass::lstFirst (MyLIST *myList)
{
return(myList->node.next);
}
Error 419: line 368 # 'NODE' is used as a type, but has not been defined as
a type.
I am not able to judge where the code is wrong
Anyone have any clue...?
Thanks in Advance,
Vijay.