[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Getting randomic integers
- From: "Alex Davies" <alex.mania@...>
- Date: Sun, 17 Jan 2010 16:23:50 +0800
Yes yes, was just hoping to get random numbers more than once a second
:) I don't think that's portable though.... oh well.
Easy ;). Call randomseed once, when your program is first loaded... and
then call random whenever you need a new number. There's no need to call
randomseed more then once.