View Full Version : can anyone help to explain srand
06-12-2005, 04:17 PM
what is srand?
or i more keen to know what is seed?
06-12-2005, 04:43 PM
a seed is a number you start from as many random number generators are not random at all.
They start with a number (the 'seed') then they apply a calculation to it to get the second random number, then the same calulation is applied to the second number to achieve the third and so on.
so a seed is a number you start from.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.