Something about "plist"?

This is a discussion on Something about "plist"? within the C Programming forums, part of the General Programming Boards category; Hello, I'm new here. Studying C I found a "plist" struct used for linked list. How do they work? Do ...

  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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21