| delorie.com/archives/browse.cgi | search |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: rand and random |
| Date: | Sun, 31 Oct 1999 10:08:42 +0200 |
| Organization: | NetVision Israel |
| Lines: | 9 |
| Message-ID: | <Pine.SUN.3.91.991031100828.2988f-100000@is> |
| References: | <s1n73iu5iqi71 AT corp DOT supernews DOT com> <p6obOB+BRMP7QeUGn1Z+l2JBPBVt AT 4ax DOT com> |
| NNTP-Posting-Host: | is.elta.co.il |
| Mime-Version: | 1.0 |
| X-Trace: | news.netvision.net.il 941357240 11200 199.203.121.2 (31 Oct 1999 08:07:20 GMT) |
| X-Complaints-To: | abuse AT netvision DOT net DOT il |
| NNTP-Posting-Date: | 31 Oct 1999 08:07:20 GMT |
| X-Sender: | eliz AT is |
| In-Reply-To: | <p6obOB+BRMP7QeUGn1Z+l2JBPBVt@4ax.com> |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
On Sun, 31 Oct 1999, Damian Yerrick wrote: > rand() will give a number between 0 and 32,767. Not true; please try to check your advice before posting. `rand' returns a random integer between 0 and RAND_MAX. The latter is defined on stdlib.h, and is much larger than 32K.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |