Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Replies
    12
    Views
    1,451

    [SOLVED] Re: File input and file output

    Take a close look at the while statement and make sure there isn't a statement ending ; before the { that surrounds the code that is supposed to be in the loop.

    The while and do-while Statements...
  2. Replies
    12
    Views
    1,451

    [SOLVED] Re: File input and file output

    That's two statements. Which one is it hanging on? Put a println between them.
  3. Replies
    12
    Views
    1,451

    [SOLVED] Re: File input and file output

    What statement is the one before the last println statement that did not print?

    EDIT: corrected above

    When it did not print, that means the statement before it is hung.
  4. Replies
    12
    Views
    1,451

    [SOLVED] Re: File input and file output

    Try adding some println statements to see where the code is hanging/stuck. Sometime you need them every other statement so you can tell which statement the program is hanging on. If one println...
  5. Replies
    12
    Views
    1,451

    [SOLVED] Re: File input and file output

    What does the code print out when it executes?

    Does the program end normally?

    Add some println statements so you can see where the code is executing and find the last statement that it executed.
  6. Replies
    12
    Views
    1,451

    [SOLVED] Re: File input and file output

    What does the code print out when it executes?

    Does the program end normally?

    Add some println statements so you can see where the code is executing and find the last statement that it executed.
Results 1 to 6 of 6