+ 2
It doesn't change the "odds" it changes the seed. Rand is pseudo-random a.k.a it applies a bunch of calculations to a seed to produce a list of results that look random. But if you have the same seed, the same list will be produced. srand changes the seed, and rand shows you the next element in the list.
26th Jan 2018, 9:23 AM
Vlad Serbu
Vlad Serbu - avatar