Search:

Type: Posts; User: junsugal

Search: Search took 0.34 seconds.

  1. Replies
    6
    Views
    921

    Re: create linked list from file?

    Thank you so much. I think i get it. It's working now
  2. Replies
    6
    Views
    921

    Re: create linked list from file?

    I am so sorry, I am new to java and scanner and linked list confused me.

    So, what i meant is, when I only use hasNext() and use next to get the value, it can return my integer value too.
    So how...
  3. Replies
    6
    Views
    921

    Re: create linked list from file?

    So, how do i read 2 values in one line?
    It seems to me that next and nextInt has no difference.
    When i have a print statement in my while loop, and assign it to print the current item, it can...
  4. Replies
    6
    Views
    921

    create linked list from file?

    I have 2 problems here.
    I am supposed to read from a file that contains the name of players and amount of golds.
    So in each line in the file there is one string value and one int value.
    My node...
Results 1 to 4 of 4