I know that in C we can use rand() to generate random numbers and use srand() to set seed. However I now want an independent random generator (like a variable, or define a class). Can anyone help?
Aucun commentaire:
Enregistrer un commentaire