¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
what is seed in srand()?
2 Respuestas
+ 2
It initializes the pseudo-random number generator.
+ 1
srand(time(NULL)) is usually the most "random" seed you can find