vendredi 19 décembre 2014

Setting vallue of all cells to -1

Hi I have array for example:



new arr[NUMBER][ENUM];



I want to have it like:

arr[0][ENUM1] = -1;

arr[1][ENUM2] = -2;



etc..



I want to set all cells to -1, how I can do that without loop? Ty.




Aucun commentaire:

Enregistrer un commentaire