Setting vallue of all cells to -1
#2

You can't do it without a loop, the only thing you can do is
arr[0] = -1;
arr[1] = -1;
arr[2] = -1;
arr[3] = -1;
... and so on
Reply


Messages In This Thread
Setting vallue of all cells to -1 - by Riwerry - 19.12.2014, 08:03
Re: Setting vallue of all cells to -1 - by zaibaslr2 - 19.12.2014, 08:21
Re: Setting vallue of all cells to -1 - by Riwerry - 19.12.2014, 08:25

Forum Jump:


Users browsing this thread: 3 Guest(s)