Re: Generate Random numbers between 0 and 4
Re: Generate Random numbers between 0 and 4
- Subject: Re: Generate Random numbers between 0 and 4
- From: Sailor Quasar <email@hidden>
- Date: Tue, 23 Dec 2003 05:52:45 -0500
On Tuesday, December 23, 2003, at 04:23 AM, Roberto wrote:
How can I generate Random Numbers between 0 and 4?
With the function short Random() is it possible?
int n = (Random() % 4);
-- Sailor Quasar, High Codemaster of the Web, scourge of systems
MacOS is to Windows as Terminus is to Trantor.
Email: email@hidden
_______________________________________________
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.