| delorie.com/archives/browse.cgi | search |
| From: | Mirek Prywata <mpry AT fuw DOT edu DOT pl> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: random numbers? |
| Date: | Thu, 22 Jan 1998 19:12:33 +0100 |
| Organization: | ift |
| Lines: | 12 |
| Message-ID: | <34C78C11.3D2898C6@fuw.edu.pl> |
| References: | <Pine DOT SUN DOT 3 DOT 91 DOT 980122183421 DOT 1427F-100000 AT is> |
| NNTP-Posting-Host: | solth2.fuw.edu.pl |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Eli Zaretskii wrote: > > > This is only correct for Borland. In DJGPP and many Unix compilers, > `random' is a function, not a macro, and it uses an entirely different > algorithm. Please make a point to double-check yourself before posting > such definitive replies. That's true, I was wrong. I simply meant int random(int) and not int random (void) M.P.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |