Search:

Type: Posts; User: lilika

Search: Search took 0.07 seconds.

  1. Replies
    17
    Views
    1,752

    Re: Array Lists help!!

    Thank you so much. I managed to do that. Now that I made the array list, i have to loop throught it in order to calculate some averages. But i don't want the average of all the array list but from...
  2. Replies
    17
    Views
    1,752

    Re: Array Lists help!!

    Yes i saw that and corrected it! It s late at night here!Sorry for that! But still the same errors in the "ignore Token and go on;" lines..



    package xristina;

    import java.io.BufferedReader;...
  3. Replies
    17
    Views
    1,752

    Re: Array Lists help!!

    I wrote it this way I don't know if I did it right, but there are errors on the lines with "ignore Token and go on;"

    Am I missing something???



    import java.io.BufferedReader;
    import...
  4. Replies
    17
    Views
    1,752

    Re: Array Lists help!!

    Thank you so much! I will try that and tell you about it! I am trying to add each number individually to an array list.I hope it will work!
  5. Replies
    17
    Views
    1,752

    Re: Array Lists help!!

    You are absolutely right but i dont know how to fill: myArray.add(int index, Integer data); with the integers i found when i read the file. Whta is my index and what is my data?

    Sorry for the...
  6. Replies
    17
    Views
    1,752

    Re: Array Lists help!!

    Yes i knew that but the problem was that i wanted to separate the numbers from the text and the symbols. That's where i messed up. I managed to do the first thing (read and seperate the integers) but...
  7. Replies
    17
    Views
    1,752

    Array Lists help!!

    Hello everybody!

    I am new to java and i have a problem. I need to create an arraylist from the coordinates οφ the real and estimated values that I have read from a file.But i can't seem to do...
Results 1 to 7 of 7