On 18 Jul 2006 08:01:57 -0700, in comp.lang.c ,
le*******@gmail.com
wrote:
>I cant understand what does the 4th line do in this snippet
Which 4th line? The opening curly brace, the int nodeNum or the
structbyLightning one? [all of these are the 4th line, counting from
somewhere in your post...]
>//struct byLightning * pPrevNode;
typedef struct byLightning
{
int data;
int nodeNum;
struct byLightning * pPrevNode;
this declares a pointer to the previous node in the linked list. If
you're not sure what a linked list is, you probably need to get a good
C textbook.
} LIST_NODE;
Thanks for any responses....
--
Mark McIntyre
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan