Hello, I'm new here.
Studying C I found a "plist" struct used for linked list.
How do they work? Do anybody know that? Thanks a lot!
Hello, I'm new here.
Studying C I found a "plist" struct used for linked list.
How do they work? Do anybody know that? Thanks a lot!
'plist' was probably a variable referring to a pointer to the list. IE:Or they did something horrible, like typedef-ing a pointer.Code:struct node { int data; struct node *next; }; ... struct node *plist;
Quzah.
Hope is the first step on the road to disappointment.