Re: 8 Digit random number
Re: 8 Digit random number
- Subject: Re: 8 Digit random number
- From: "Mr. Gecko" <email@hidden>
- Date: Wed, 7 May 2008 16:24:05 -0500
Thanks That worked grate
On May 7, 2008, at 4:17 PM, Jean-Daniel Dupas wrote:
call srandomdev() before the first call to change the initial state.
see man random for all details.
Le 7 mai 08 à 23:10, Mr. Gecko a écrit :
that is not really random maybe if I had added unix time stamp
inside of random() how would I get that?
On May 7, 2008, at 4:02 PM, Jean-Daniel Dupas wrote:
long value = random() % 10000000;
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden