lundi 29 octobre 2018

How do I generate a random number from 0 to 1 in c++

I'm trying to build an algorithym in c++ based in a JAVA code, ande the example i'm following uses java.lang.Math.random() which generates a random number from 0 to 0.9999.

How to I create the same in c++?




Aucun commentaire:

Enregistrer un commentaire