endless loop and i dont understand why

Discussion in 'Java' started by Alexandre, Apr 12, 2005.

  1. Alexandre

    Alexandre Guest

    line 0070 numbers += temp;

    the whole code is posted at :
    http://www.vkarlsen.no/pastebin/default.asp?id=5485

    i simply do not understand why this causes an endless loop, when i
    comment it everything works fine when i leave it i get the endless
    loop..

    Alexandre
     
    Alexandre, Apr 12, 2005
    #1
    1. Advertising

  2. Alexandre

    Alexandre Guest

    resolved
     
    Alexandre, Apr 12, 2005
    #2
    1. Advertising

  3. Alexandre

    hibiki Guest

    Alexandre a écrit :
    > line 0070 numbers += temp;
    >
    > the whole code is posted at :
    > http://www.vkarlsen.no/pastebin/default.asp?id=5485
    >
    > i simply do not understand why this causes an endless loop, when i
    > comment it everything works fine when i leave it i get the endless
    > loop..
    >
    > Alexandre
    >


    Are you sure "numbers += temp;" does not throw IOException, actually ?

    --
    Salutations,

    Joachim Naulet

    06 14 90 06 21
    http://jnaulet.no-ip.com
     
    hibiki, Apr 12, 2005
    #3
  4. Alexandre

    hibiki Guest

    Alexandre a écrit :
    > line 0070 numbers += temp;
    >
    > the whole code is posted at :
    > http://www.vkarlsen.no/pastebin/default.asp?id=5485
    >
    > i simply do not understand why this causes an endless loop, when i
    > comment it everything works fine when i leave it i get the endless
    > loop..
    >
    > Alexandre
    >


    Are you sure "numbers += temp;" does not throw IOException, actually ?

    --
    Salutations,

    Joachim Naulet

    06 14 90 06 21
    http://jnaulet.no-ip.com
     
    hibiki, Apr 12, 2005
    #4
  5. "Alexandre" <> writes:

    > resolved


    Enlighten us :)
    Was it really an endless loop, or was it just incredibly slow?

    /L
    --
    Lasse Reichstein Nielsen -
    DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
    'Faith without judgement merely degrades the spirit divine.'
     
    Lasse Reichstein Nielsen, Apr 12, 2005
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark Goldin

    Dont understand why this does not work

    Mark Goldin, Sep 7, 2004, in forum: ASP .Net
    Replies:
    11
    Views:
    585
    Greg Burns
    Sep 8, 2004
  2. Claudio Grondi
    Replies:
    75
    Views:
    1,152
    Tim Peters
    Jan 21, 2006
  3. Mr. SweatyFinger
    Replies:
    2
    Views:
    2,072
    Smokey Grindel
    Dec 2, 2006
  4. Jack Dowson
    Replies:
    4
    Views:
    382
    Roman
    May 6, 2007
  5. Isaac Won
    Replies:
    9
    Views:
    397
    Ulrich Eckhardt
    Mar 4, 2013
Loading...

Share This Page