Search:

Type: Posts; User: tarkal

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    1,305

    Re: Methodology to find bugs

    I've managed to solve the problem and fix the code (below) but for numbers larger than 400 it becomes very very slow. Any suggestions on how this could be enhanced for larger numbers?


    public...
  2. Replies
    5
    Views
    1,305

    Re: Methodology to find bugs

    aha... I have found that a good way of isolating a problem is to ad in tempory variables and print them out to see what is happening. Is this generaly an accepted technique?
  3. Replies
    5
    Views
    1,305

    Re: Methodology to find bugs

    I'm now 90% sure that the problem is coming from the run()...
  4. Replies
    5
    Views
    1,305

    Re: Methodology to find bugs

    Hi sorry for the late reply. here is the class with the main method that instantiates the above class.



    public class TriangleThreads {
    public static void main(String[] args) {...
  5. Replies
    5
    Views
    1,305

    Methodology to find bugs

    Ive writen the following class. The point of the code can be found here Problem 12 - Project Euler.

    The code doesn't work!!! But before anybody points out why, I wanted to ask about technics and...
Results 1 to 5 of 5