Scusate,anke un'altra domanda!!
Questo enunciato esattamente cosa fa?
testa = (++testa)%v.length;
perchè finchè v.length è 10 ci sono...ma se non è 10 l'indice testa viene un numero enorme...oppure sto confondendo io qualcosa?mah...
Scusate,anke un'altra domanda!!
Questo enunciato esattamente cosa fa?
testa = (++testa)%v.length;
perchè finchè v.length è 10 ci sono...ma se non è 10 l'indice testa viene un numero enorme...oppure sto confondendo io qualcosa?mah...