0
Rand
what is the benefit of random numbers in programming
3 Respuestas
+ 3
Imagine you have to create a password generator.Without rand,your password options will be limited.with rand you can create random passwords,infinite.
hope that helps
+ 1
use of random numbers is very beneficial when it comes to security because to predict an random number need some time it's most useful in the field of cryptography
random numbers are generated by random number generator which works on different random number algorithm
+ 1
rand() was replaced by <random> in C++11.
You'll see it when you need it, and otherwise, don't bother.