
January 28th, 2013, 10:59 AM
|
 |
Contributing User
|
|
Join Date: Oct 2009
Location: London, ON
|
|
|
Well, you have an infinite loop determined by i, which is incremented by 2 on every iteration (i<++i, and i++). In your inner loop, n is defined at 0 then each iteration increments it by one (n++), with the loop ending at n==i
__________________
<Tetrad> the program I just wrote 1) compiled the first time without any errors and 2) worked like it was supposed to
<Tetrad> I don't know whether to be proud or scared to death
Quote: | Originally Posted by DaWei_M That covers a multitude of your sins, right there. |
|