Search:

Type: Posts; User: scdesign

Search: Search took 0.36 seconds.

  1. Replies
    9
    Views
    11,034

    Re: how to use Scanner and useDelimiter with int

    so after couples of days and reading on internet i found a working solution i want share
    happy programming

    import java.io.*;
    import java.util.*;

    public class huvudapp {

    private String...
  2. Replies
    9
    Views
    11,034

    Re: how to use Scanner and useDelimiter with int

    2289
    here is the lines , sorry did't think about the line numbers
  3. Replies
    9
    Views
    11,034

    Re: how to use Scanner and useDelimiter with int

    ok! i read it , and like i said i'm not very good at java . so what is an debugger ? it seams that it finds the file but doesn't read it because the ; symbol .
  4. Replies
    9
    Views
    11,034

    Re: how to use Scanner and useDelimiter with int

    This is the error code i get .
    Exception in thread "main" java.util.InputMismatchException
    at java.util.Scanner.throwFor(Scanner.java:840)
    at java.util.Scanner.next(Scanner.java:1461)
    at...
  5. Replies
    9
    Views
    11,034

    how to use Scanner and useDelimiter with int

    my first post in this forum hope i do everything right …
    I have this code but i get error because i think of the " ; " separator in the file.

    so my code is
    import java.io.*;
    import...
Results 1 to 5 of 5