I notice when lots of you post any code you use NULL, yet in my code it wont let me use NULL for my structs. Is this meant to be a pseudocode or does it actually work?
struct NODE
{
char word[WORDSIZE];
struct NODE *next;
};
struct LIST
{
struct NODE listTop;
};
now I want to try to set the List to NULL, but am unable to do that. Asking about my code a few days ago I got this repsponse:
table[i].listTop.word[0]='\0';
yet when Im searching for it, it wont stop when it sees what would be the NULL character, and searching while it's !=NULL doesnt work either.
Any help or msgs where I can get more info on structs set to NULL would be appreciated.
Michael