Search:

Type: Posts; User: dlorde

Search: Search took 0.09 seconds.

  1. Replies
    7
    Views
    7,165

    [SOLVED] Re: Question About Using Scanner Object Twice

    You're welcome :)
  2. Replies
    7
    Views
    7,165

    [SOLVED] Re: Question About Using Scanner Object Twice

    OK. You need to read the Scanner API docs more carefully.

    You haven't posted any indication of how your scanner is set up, but I assume it's using the default delimiter (whitespace)....
  3. Replies
    7
    Views
    7,165

    [SOLVED] Re: Question About Using Scanner Object Twice

    If you're going to post code, please make sure it's readable, and please explain what you want it to do.

    Forget two scanners for now - as I said, you probably don't need two scanners.

    For the...
  4. Replies
    7
    Views
    7,165

    [SOLVED] Re: Question About Using Scanner Object Twice

    No, if the Scanner is scanning a stream or string that has different types of data in it, and you want to extract the different data types, it usually makes sense to use the same scanner to read the...
Results 1 to 4 of 4