![]() |
|
#1
|
|||
|
|||
Linked listsMy program reads in a file and sorts the words into groups by letter. The letters use a triple linked list, forward back and down. The words are connected in a single linked list, just down. My problem is that I can't get my triple linked list to point and a node in the single linked list. Any help would be appreciated.
|
|||
|
#2
|
||||
|
||||
|
Given any node you need to load the address of the nodes you want to point to for the fwd and back pointers.
|
|
#3
|
||||
|
||||
|
Quote:
Hi Vortz. Welcome to GIDFofums. I'm not totally sure that I 100% understand what the triple-linked list is. Sometimes a picture is worth a thousand words, is this something like what you want for I am great Code:
I am just trying to understand your question better before I can give you any comments. Cheers, d |
|
#4
|
|||
|
|||
Sorry, got itSorry, yeah that's what it looks like. Actually though I figured it out, it was easy I just didn't think to put a node pointer for the single node in the double node structure. Thanks anyway.
-Vortz |
Recent GIDBlog
Vista ?Widgets? on Windows XP by LocalTech
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Merge sort on a linked list | Temujin_12 | C++ Forum | 1 | 06-Mar-2008 20:33 |
| [include] list1.h -- Linked list class | dsmith | C Programming Language | 2 | 04-May-2004 09:42 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The