Re: Random Numbers
Re: Random Numbers
- Subject: Re: Random Numbers
- From: David P Henderson <email@hidden>
- Date: Wed, 13 Jun 2001 21:36:05 -0400
On Wednesday, June 13, 2001, at 06:16 , email@hidden wrote:
I probably didn't look in the right place, but I can't find anything in
Cocoa for using random numbers. Are there any utilities available, or
do I just code it up in straight C? Thanks everyone.
AFAIK no. You can use any of the C randomizing functions such as rand()
or random() in your Cocoa app.
Dave
--
Chaos Assembly Werks
"The Trend over the last 20 years or so has been to design computer
languages that enforce a state of paranoia. You're expected to program
every module as if it were in a state of siege In Perl culture, by
contrast, you're expected to stay out of someone's home because you
weren't invited in, not because there are bars on the windows."
from Programming Perl