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