Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    15
    Views
    1,816

    Re: I Cant seem to get my sort routine to function

    Where are all the printlns I asked you to put in the code to show how variable are changing value and to show control flow?

    Also please surround your code with code tags to preserve formatting....
  2. Replies
    15
    Views
    1,816

    Re: I Cant seem to get my sort routine to function

    Maybe I can make some suggestions to help you use printlns to show the problem.
  3. Replies
    15
    Views
    1,816

    Re: I Cant seem to get my sort routine to function

    Why does it exit? What test does it do that is not working correctly?
    Look at the code where it exits. Add printlns to show what is happening.

    Post your code showing how you are using printlns to...
  4. Replies
    15
    Views
    1,816

    Re: I Cant seem to get my sort routine to function

    Continue debugging and determine why it exits after only once.
  5. Replies
    15
    Views
    1,816

    Re: I Cant seem to get my sort routine to function

    Not sure the reason for your last post.

    Earlier I asked:
    Please copy and paste here the output from the program and add some comments showing what is wrong.

    Did you: Try debugging the code by...
  6. Replies
    15
    Views
    1,816

    Re: I Cant seem to get my sort routine to function

    Can you copy the full contents of the console window showing the input and output and paste it here?

    Did you: Try debugging the code by adding println statements to show the execution flow and how...
  7. Replies
    15
    Views
    1,816

    Re: I Cant seem to get my sort routine to function

    Try debugging the code by adding println statements to show the execution flow and how the values of variables change.

    A comment on inputting data for easier testing. Put all the data in the...
  8. Replies
    15
    Views
    1,816

    Re: I Cant seem to get my sort routine to function

    First: Please put your code in code tags to preserve formatting. Unformatted code is hard to read.


    Please copy and paste here the output from the program and add some comments showing what is...
Results 1 to 8 of 8