I've been looking for a method to use rand() and srand() to generate random numbers in a specified range. I have tried using mt19337 with no success. I've been told that using mt19337 is a non-modern way of doing it. How can I use rand() and srand() to generate random numbers in range?
Aucun commentaire:
Enregistrer un commentaire