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...
Type: Posts; User: lilika
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...
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;...
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...
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!
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...
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...
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...