Results 1 to 3 of 3
  1. #1
    moonah is offline Member
    Join Date
    Jan 2012
    Posts
    2
    Rep Power
    0

    Default End of file indication

    Please i noticed that the netbeans IDE doesn't recognize the windows end-of-file indicator Ctrl+Z + Enter.
    aw do i go about this cause am trying to write a while loop using the hasNext() method and the end of file indicator is supposed to signal when to break out of the loop.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,457
    Rep Power
    25

    Default Re: End of file indication

    Have you tried it in a command prompt window?
    Did it work there?

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,247
    Rep Power
    19

    Default Re: End of file indication

    Habitual cross poster who doesn't bother to return to threads started on both forums.
    End of file indication

    Also
    Maps and HashMaps
    Maps and HashMaps

    Also, there's nothing remotely 'advanced' about a question that doesn't even specify the classes used. Moving to 'New to Java'

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 1
    Last Post: 07-28-2011, 07:50 PM
  2. Replies: 6
    Last Post: 12-01-2010, 05:31 AM
  3. Replies: 0
    Last Post: 07-15-2010, 01:23 PM
  4. Replies: 0
    Last Post: 02-11-2009, 09:53 AM
  5. Replies: 7
    Last Post: 05-23-2008, 03:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •