Search:

Type: Posts; User: iHank

Search: Search took 0.11 seconds.

  1. Replies
    5
    Views
    1,320

    Re: Jumps over while-loop

    Okey, thanks! I'm executing the program through Netbeans - run file. I found a solution:

    I just replace Scanner fil = new Scanner(new File("ord.txt")) with Scanner fil = new Scanner(new...
  2. Replies
    5
    Views
    1,320

    Re: Jumps over while-loop

    Ok, I tested "fil.hasNext" before the While-loop, and the value was "false". The value of "fil" was:

    java.util.Scanner[delimiters=\p{javaWhitespace}+][position=0][match valid=false][need...
  3. Replies
    5
    Views
    1,320

    Jumps over while-loop

    Hello!

    I'm creating a program with the source code below. It doesn't work, because it seems to jump over the while-loop. The code:


    public class Ordjaktsfusk
    {

    public static void...
Results 1 to 3 of 3