+ 1
how can i generate a random number from a min to a max in C++?
I have to generate a random number in a range in C++
2 ответов
+ 3
Have a look at this link.
http://www.cplusplus.com/reference/cstdlib/rand/
I have to generate a random number in a range in C++