Re: Random Number
Re: Random Number
- Subject: Re: Random Number
- From: Ondra Cada <email@hidden>
- Date: Thu, 28 Feb 2002 20:09:43 +0100
Shaun,
>
>>>>> Shaun Chu (SC) wrote at Thu, 28 Feb 2002 13:27:37 -0500:
SC> Sorry if this sounds like a dumb question, but how do I get a truly
SC> random number in Cocoa?
Depends on what you call "truly". The standard way is random (see man
random), but I would not use it for a serious statistics ;)
If you need a good random stream, you have to go outside of Cocoa to generic
libraries, I fear.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.