+ 12
What is randomised function in c++
Randomised function in c++
1 Resposta
+ 2
randomize function is used to generate random numbers each time, when you run program.
alternatively, you can use the seeding with time to generate random numbers. eg-: srand(time(0))
you need to include cstdlib and ctime.