![]() |
|
#1
|
|||
|
|||
Doubly linked lists in C++does anybody have a general template for a doubly linked list in c++ .. i have some code for a singly linked list which im trying to create the doubly linked list from and i literally dont know where to start ...
if i have a template i think i would have a better idea thanks |
|||
|
#2
|
|||
|
|||
Re: Doubly linked lists in C++Quote:
The only difference between a doubly linked list and a singularly linked list is that the singularly linked list has a "next" pointer and the doubly linked list has a "next" and a "prev" pointer, which points to the previous element in the list. If the list is "circular," then the list will have a "first" and "last" whereby the "prev" in "first" points to "last" and the "next" in "last" points to "first." :davis: |
Recent GIDBlog
Updates On The All New Toyota VIOS - Part III by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Doubly linked list | akanksha | C Programming Language | 3 | 06-Oct-2006 11:30 |
| doubly linked list w/ one node | Darth Predator | CPP / C++ Forum | 1 | 17-May-2006 20:52 |
| [Include] Doubly-linked List | dsmith | C Programming Language | 6 | 14-Apr-2006 13:12 |
| help on linked lists any1????? | nick4 | C Programming Language | 1 | 17-May-2004 09:32 |
| linked lists, newbie needs help | moltarim | C Programming Language | 4 | 06-May-2004 11:32 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The