I am creating a random number generator that picks out random numbers from an array. I am used to using Java and not having to worry about the srand
seed. How can I make my program use the system time as a seed so every time upon running my program has a new seed (time) for the random number generator.
Aucun commentaire:
Enregistrer un commentaire