I want to generate a pseudo random number between 0.0f (inclusive) and 1.0f (exclusive) in C++ using Qt5.
0.0f
1.0f
How can I do this in the recommended/Qt way?
Aucun commentaire:
Enregistrer un commentaire