all right, i've got a complete linked struct list containing 29 names and each have pointers. Only thing is i need that last pointer to pointer the first node of the list struct. How can i do this, simple code would help, thanks.
all right, i've got a complete linked struct list containing 29 names and each have pointers. Only thing is i need that last pointer to pointer the first node of the list struct. How can i do this, simple code would help, thanks.
Try to keep track of the head and tail node when creating the list, so that when you want to know the link from the last node to the head - work decrease to 'tail->next' instead of having to traverse the list (each loop iteration checking current node to the head).
If this doesn't help just send your email-address to
'[email protected]' and you'll get some code later.