 |
|
BANNED
Join Date: Jul 2007
Location: 0 (world)
|

08-28-2007
, 09:21
Re: increase understanding.
|
#7
|
i = 1;
i == i ++
first it checks if i == i, wich of corse is true, then it sets i to i+1.
i++ != i
first it stores the value of i, 1, then it sets i to i+1, and then it checks if 1 == i where i is 2.
++i == i:
first i is set to i+1, then it checks if i == i, wich of corse is true.
i != ++i becose it first stores 1, then it adds 1 to to i, and then it will check if 1 == 2, which of corse is false.
I hope you understand. Everything works as it should work.
Last edited by potatis_invalido; 08-28-2007 at 09:24.
|
|
|
|