Grazie mille!!
Però non capisco perchè, cosa vuol dire srand (time(NULL))??