Re: Building a linked list



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.

.



Relevant Pages

  • Re: Building a linked list
    ... implementing a linked list, with a class node, which has a String ... But for the life of me, ... how to insert the original data to build the list initially. ...
    (comp.lang.java.programmer)
  • Building a linked list
    ... I'm stuck and was hoping someone here could help. ... implementing a linked list, with a class node, which has a String ... how to insert the original data to build the list initially. ...
    (comp.lang.java.programmer)
  • Re: format numbers
    ... and format this cell for mm:hh. ... Are you sure that the original time is 2 hours 21 mins and not 2 hours ... If that is the case, then in you spreadsheet, use a spare column to ... Copy this new column and Paste Special>Values over the original data. ...
    (microsoft.public.excel)
  • Re: Paste results not as expected
    ... I did what you said and the original data returned TRUE for all of the cells. ... workbook and that workbook used a different starting date (1904 vs. 1900, ... text or csv as the paste special format. ...
    (microsoft.public.excel.programming)
  • Re: Alphanumeric incremented number
    ... Check out the help topics for the Yearand the Format() functions ... Since RepDate is already in the table, there is no need to store this ... store the derived data at all, since you have the original data to ... data types and nullable fields? ...
    (microsoft.public.access.formscoding)