This has been sorted out already, as no help was given
Type: Posts; User: teen-omar
This has been sorted out already, as no help was given
Hey, I saw that you requested some help for you Java code on another forum
Reading from File and Storing in Array [HELP] - CodeGuru Forums
Seems like the guy who responded could help out, just...
Hey
i see that you haven't made any changes to the current code. :confused: guess you're still stuck
Have you asked MrE if he can give you any more hints than just "looking into the blue book"?...
Hey MrE, I am assuming you attend the same University as Ko209
any help in doing the project maybe?
let us know so we can put him out of his misery :p
well the weekend isn't over yet
Try breaking it down into smaller chunks
ok Open file is done no need to look at that.
But let's look closer at the next step.
First we have to make sure that...
Well you see the comment i provided you with in the code should have helped you a little ;-)
ok, think outside the box, take the work your teacher gave you and have a look at it. Try to find any...
Well you see the comment i provided you with in the code should have helped you a little ;-)
ok, think outside the box, take the work your teacher gave you and have a look at it. Try to find any...
lol mine too
hmmm....
you know what I'm seeing? the
alHeat.add(athlete); is actually not doing anything, which means the athlete array is not being placed into the arraylist (which is why the...
Hey
Ok first of all, clear up your code a bit
Get rid of Line 41-54 so as to be able to read the code cleaner. Next, I ran the code, but i don't seem to see where it makes sense. What's with the...
here's the thing
you are trying to use your reading in method, along with the one i provided
use the one i gave you, and build on it the arrays and stuff you gotta do
so get rid of your reading in...
Let me know when your code is perfected, would love to see how it ends up as ;-)
BTW, the code you posted, i don't seem to understand where you got the "list" from.
Make sure you initialize if...
lol, seems like you want to experiment a lot with the java classes.
how come you are jusing the Logger class now?
If you want to split up the data, you could use a .trim for it.
Here is a code i...
The distance between num and name isn't always same, but it is always greater than 2, so elaborate on that ;-)
but between Nat and time there are always 3 spaces, so have you taken that into...
hey k0209, any chance of uploading the account.dat file so we can check out the way he laid it out in the file?
Also, i think you forgot to post up a separate class file which holds the information...
With your code, have you tested whether it saves the Heat times into array? made any checks like "System.out.print..."
Always make sure that the Array works in terms of storing the data
So are you...
Hey
Are there any other classes you have created for which the code isn't displayed?
Because this might give us a clue as to what to do next.
Been looking at your code, and the display2d method...
Hey
I am not fully sure why you are going to ask the user to enter the number of heats and athletes, because even if they enter wrong values in, the reader will still display the full text.
I think...
Hey
Did your teacher specifically say that you have to use the Scanner method?
The easier way would be to do this:
{
public static void main(String args[])
{
try
{...