From: Martin Ambuhl Newsgroups: comp.os.msdos.djgpp Subject: Re: getting a ranged random number, how? Date: Sun, 27 Dec 1998 20:00:04 -0500 Content-Transfer-Encoding: 7bit References: <3685970D DOT 271BE4C6 AT market DOT forsale> <3685DB37 DOT 3EC8E298 AT earthlink DOT net> <368628DC DOT FAD5AABD AT lycosmail DOT com> X-Posted-Path-Was: not-for-mail X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-ELN-Date: 28 Dec 1998 01:00:26 GMT X-ELN-Insert-Date: Sun Dec 27 17:05:04 1998 Organization: Nocturnal Aviation Lines: 13 Mime-Version: 1.0 NNTP-Posting-Host: 1cust103.tnt9.nyc3.da.uu.net Message-ID: <3686D814.E516DA5@earthlink.net> X-Mailer: Mozilla 4.5 [en] (Win95; I) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Adam Schrotenboer wrote: > > You do have a point that it can be bad, but what if when you try to use RAND_MAX, your > compiler gives you a really hard time?? If your compiler gives you a really hard time when you try to correctly use RAND_MAX, then it is broken and needs replacing. -- Martin Ambuhl (mambuhl AT earthlink DOT net) Note: mambuhl AT tiac DOT net will soon be inactive