Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Re: New Method array to String or just print as Array?

    So a is always > 0 and a - 0 doesn't change a
    Glad you got it.
  2. Re: New Method array to String or just print as Array?

    Does that mean your program now works?
    If not, why aren't you testing the program to see what is printed out?
  3. Re: New Method array to String or just print as Array?

    What prints out when the program is executed?
    If there is an infinite loop,
    either the printouts will go forever and what is printed will show you where the loop is
    or the prints will stop and...
  4. Re: New Method array to String or just print as Array?

    What did the debug println()s print out? Where did you put them in the code? Were any inside the loop?
  5. Re: New Method array to String or just print as Array?

    Does that mean you have solved the problem?
  6. Re: New Method array to String or just print as Array?

    Is that where the while() loop is I asked about earlier?

    Continue debugging by adding println() statements to the code in the ggT() method to see what is happening there.
  7. Re: New Method array to String or just print as Array?

    Time to do some debugging. I use println()s. Add lots of println() statements to the code that print out the values of variables as the code executes and shows where the execution flow is going. ...
  8. Re: New Method array to String or just print as Array?

    Did you try this:
    Does the while loop end? Add some debug logic inside the loop to keep it from executing too many times.
  9. Re: New Method array to String or just print as Array?

    A suggestion: For testing use smaller sizes like 10 vs 1000.

    Does the while loop end? Add some debug logic inside the loop to keep it from executing too many times.
Results 1 to 9 of 9