Search:

Type: Posts; User: deejaypanininini

Search: Search took 0.16 seconds.

  1. Replies
    3
    Views
    139

    [SOLVED] Re: Error "; needed"

    Wowwwwwwww. Thanks a lot!
  2. Replies
    3
    Views
    139

    [SOLVED] Error "; needed"

    So my code is just about finished for a project I have due tomorrow. However there's one part that's still preventing the code from being compiled completely. Here's the error it returns.


    ...
  3. Replies
    2
    Views
    115

    [SOLVED] Re: Using inputFile.hasNext ?

    The file contains 5 numbers: 0, 1, 5, -9, and -10. Aren't these all in the int range?

    Edit: fixed it. I moved my for loop out and changed the while loop into an if statement and put it in the for...
  4. Replies
    2
    Views
    115

    [SOLVED] Using inputFile.hasNext ?

    I don't know why my code isn't working. It's worked before but I don't know why this time it isn't.


    public static void inputData() throws IOException{
    Scanner...
  5. Replies
    5
    Views
    112

    Re: What's wrong with my code?

    Would that be using the while (inputFile.hasNext()) ?
  6. Replies
    5
    Views
    112

    Re: What's wrong with my code?

    Did I do it right?
  7. Replies
    5
    Views
    112

    What's wrong with my code?

    My code's not working and I don't know why. I'm trying to read numerical values from a file and saving all instances where a letter is entered instead of a number to a string to be referenced as an...
Results 1 to 7 of 7