¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita+ 4
How to generate floating type random number in c++
2 Respuestas
+ 3
You can create a random integer and convert it to a float:
https://stackoverflow.com/questions/686353/random-float-number-generation
+ 5
Thank you Alexander Thiem