1 2
|
if(i=0) // Value of i=0 is 0. Boolean value of 0 is false. This if is always false
if(i==0) // As should be.
|
Last edited on
lol thank you so much. how could i forget about that omg, now i wasted 1hour by searching my mistake and then it's such an easy mistake