Search:

Type: Posts; User: teen-omar

Search: Search took 0.16 seconds.

  1. Replies
    0
    Views
    1,277

    Creating Polygon (not visual)

    This has been sorted out already, as no help was given
  2. Re: Problems with File Reader (Strings and 2D Array Storage)

    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...
  3. Re: Problems with File Reader (Strings and 2D Array Storage)

    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"?...
  4. Re: Problems with File Reader (Strings and 2D Array Storage)

    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
  5. Re: Problems with File Reader (Strings and 2D Array Storage)

    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...
  6. Re: Problems with File Reader (Strings and 2D Array Storage)

    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...
  7. Re: Problems with File Reader (Strings and 2D Array Storage)

    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...
  8. Re: Problems with File Reader (Strings and 2D Array Storage)

    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...
  9. Re: Problems with File Reader (Strings and 2D Array Storage)

    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...
  10. Re: Problems with File Reader (Strings and 2D Array Storage)

    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...
  11. Re: Problems with File Reader (Strings and 2D Array Storage)

    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...
  12. Re: Problems with File Reader (Strings and 2D Array Storage)

    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...
  13. Re: Problems with File Reader (Strings and 2D Array Storage)

    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...
  14. Re: Problems with File Reader (Strings and 2D Array Storage)

    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...
  15. Re: Problems with File Reader (Strings and 2D Array Storage)

    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...
  16. Re: Problems with File Reader (Strings and 2D Array Storage)

    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...
  17. Re: Problems with File Reader (Strings and 2D Array Storage)

    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...
  18. Re: Problems with File Reader (Strings and 2D Array Storage)

    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
    {...
Results 1 to 18 of 19