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.
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