I've looked up the documentation and examples after trying to run my code but was unable to find a method to feed a list into the uniform_int_distribution. Is this not even possible then?
Does anyone have any suggestions on the best way to randomly pick an item from a given list without using srand() or rand()?
Aucun commentaire:
Enregistrer un commentaire