Re: Building a linked list
- From: brianlaca@xxxxxxxxx
- Date: Thu, 20 Sep 2007 04:42:58 -0000
On Sep 19, 4:40 pm, Joshua Cranmer <Pidgeo...@xxxxxxxxxxx> wrote:
bribr...@xxxxxxxxx wrote:
Hi everybody, I'm stuck and was hoping someone here could help. I am
implementing a linked list, with a class node, which has a String
object text and a node next as its definition. I'm all set on adding,
deleting, inserting, etc. But for the life of me, I cannot figure out
how to insert the original data to build the list initially. Any help
would be great, and if you need more info just let me know.
Thanks in advance :)
1. What is the format of the original data?
2. For what purpose are you writing your own linked list implementation?
--
Beware of bugs in the above code; I have only proved it correct, not
tried it. -- Donald E. Knuth
Sorry about the delay in responding... it is for my data structures
class. The format of the original data is in a text file, read in
line by line, each node being one line. This will implement a very
rudimentary editor.
.
- References:
- Building a linked list
- From: bribriLA
- Re: Building a linked list
- From: Joshua Cranmer
- Building a linked list
- Prev by Date: NewsMaestro Usenet Supertool 3.8.1 is released
- Next by Date: Re: Building a linked list
- Previous by thread: Re: Building a linked list
- Next by thread: Re: Building a linked list
- Index(es):
Relevant Pages
|