jeudi 18 octobre 2018

Why is the use of rand() considered bad?

I heard some guys telling that the use of rand() is bad and it produces the same sequence even after using srand() to get a seed. Why is that so? I want to know how the stuff happens... And sorry for another question.. but what is an alternative to this then?




Aucun commentaire:

Enregistrer un commentaire