28.08.2016, 01:02
This loop atleast will never call 3, for your statement is "i < 3" (since num rows is 3). This means it will keep looping as long i is below 3.
Also you don't need to format a string for a print function.
You have: print(msg[]) and printf, and with printf you can add these vars (printf("i=d",i)
Anyway I can't see what's wrong futher so quick.
Would love to help but I am currently on my phone
P.s.
Also you don't need to format a string for a print function.
You have: print(msg[]) and printf, and with printf you can add these vars (printf("i=d",i)
Anyway I can't see what's wrong futher so quick.
Would love to help but I am currently on my phone
P.s.
PHP код:
new c = num_rows, i = 1;
while (i < c+1)
{
//cache content etc
i++;//after creating the vehicle!
}