Creating the same random numbers

Andreas Leppert wudmx at web.de
Sat Jan 29 18:41:21 EST 2011


Hi Danny,


On Sat, Jan 29, 2011 at 07:59:34PM +0000, creslin at gmail.com wrote:
> Why not simply copy the sequence generated if you need the same? 
> 
Because it would be easier to have something like srand(seed) and later
on rand() instead of managing a list of generated numbers etc. Of
course, providing a list of generated data could be a solution.





More information about the Kernelnewbies mailing list