Mail Archives: djgpp/1998/01/22/13:30:56
On Thu, 22 Jan 1998 19:12:33 +0100 in comp.os.msdos.djgpp Mirek
Prywata <mpry AT fuw DOT edu DOT pl> wrote:
: 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)
... but even so, random does not take an integer. I don't have djgpp
here to check, but the prototype should be `int random (void);'.
--
Regards,
george DOT foot AT merton DOT oxford DOT ac DOT uk
- Raw text -