19.12.2014, 08:03
Hi I have array for example:
new arr[NUMBER][ENUM];
I want to have it like:
arr[0] = -1;
arr[1] = -1;
etc just want to inicialize it at declaration of variable if it is possible..
I want to set all cells to -1, how I can do that without loop? Ty.
new arr[NUMBER][ENUM];
I want to have it like:
arr[0] = -1;
arr[1] = -1;
etc just want to inicialize it at declaration of variable if it is possible..
I want to set all cells to -1, how I can do that without loop? Ty.