Re: [gtk-list] GLists



>Hi,
>I have a philosophic question:
>what for using Glists/GSLists is useful?
>
>Thanx,
>_____
>Alexander Kotelnikov
>Saint-Petersburg, Russia
>mailto:sacha@ak2614.spb.edu
>
>-- 
>To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < 
/dev/null
>

GList is for doubly linked lists, and GSList is for singly linked lists.  
Linked lists are basically structures that contain a pointer to the next 
(unknown) element in the list (or the one before it, as in the case of 
doubly linked lists).  Linked lists are useful for things like recursing 
through a directory tree since you basically don't know how many 
elements you're dealing with.


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]