21.11.2013, 22:43
Quote:
The array you create is only 5 elements large in the first-dimension, yet you try to access values larger than the size. I don't know what you were expecting but you can't access array values that do not exist in an array.
|
which one?
1) my english is so bad?
2) can't you read?
3) are you re**** ?
Quote:
He knows that, what he tried to say is that compiling with -d2 breaks (stops) the code (in this case the loop) from continuing accessing the element at an invalid index while compiling with -d0 doesn't stop the code and it keeps looping with all the invalid indexes.
|
the worst part is if you change values on loop to index > 5, it will change some "random" (I know it's not really random) value on memory, of any other var on the gamemode!