for loop seems to be stopping the script from progressing.
#5

Quote:
Originally Posted by ******
Посмотреть сообщение
If you use "<=" in C you are most likely doing it wrong there too.
Nope. It works perfectly fine there.
We use it on arrays, so let's say an array has 10 cells, instead of writing
for( I = 0; I < 10; I++)

we'd write

for( I = 0; I <=9; I++)

It has the same effect.

It means that it would continue as long as I is smaller or equal to 9.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)