Thread: Something about "plist"?

  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    22

    Something about "plist"?

    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!

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    'plist' was probably a variable referring to a pointer to the list. IE:
    Code:
    struct node
    {
        int data;
        struct node *next;
    };
    
    ...
    
    struct node *plist;
    Or they did something horrible, like typedef-ing a pointer.


    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed