Re: Building a linked list



On Sep 19, 4:13 pm, 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 :)


If you're all set on adding that's what you do. Add the nodes one at
a time to build your list. Am I confused here?

.



Relevant Pages

  • 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: Has forth affected your thinking besides computing?
    ... in life, besides computing. ... Ignoring computing and going just to life, the lesson I got was perhaps a ... I suppose that's a lesson in itself. ... program because of the good string handling functions in BASIC. ...
    (comp.lang.forth)
  • Re: call by address vs. call by value
    ... Why is a bolt better than a nail? ... Call by value means that the contents of a piece of memory is passed ... Could be an integer, a floating point number, a whole 10 kb string. ... need to work on the original data, or on/with a copy of it. ...
    (comp.lang.c)
  • RE: Arrrrg !!!! ObjectDataSource Issues
    ... > I can select as a dataset, I can update, I cannot for my LIFE Delete ... > Shared Function DeleteAuthors(ByVal au_id As String) As Integer ... > NOW here is where it gets confusing to me, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Question about iterators and reading a file
    ... can't for the life of me figure out how to do that. ... save the whole record as an object indexed by the identifying string ... The problem is that this is not a line-oriented set of data. ... to have some kind of nested loop that advances the line counter. ...
    (comp.lang.ruby)