www.delorie.com/archives/browse.cgi | search |
From: | XXguille AT XXiies DOT XXes (Guillermo Rodriguez Garcia) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: ** Random error ** |
Date: | Sun, 23 May 1999 22:07:42 GMT |
Organization: | Telefonica Transmision de Datos |
Lines: | 16 |
Message-ID: | <37487b46.11428334@noticias.iies.es> |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 990518133848 DOT 24330K-100000 AT is> <374853CF DOT 813FCFEE AT enter DOT net> |
NNTP-Posting-Host: | iies227.iies.es |
Mime-Version: | 1.0 |
X-Newsreader: | Forte Agent 1.5/32.451 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
El día Sun, 23 May 1999 15:15:27 -0400, Sean <sproctor AT enter DOT net> escribió: >> The only reason is portability: `rand' is ANSI while `random' is not. >> Most DOS/Windows compilers don't provide `random' at all, while `rand' >> is always there. > >Why use random() at all if it does exactly the same thing? random is usually better. Regards, GUILLE ---- Guillermo Rodriguez Garcia XXguille AT XXiies DOT XXes (ya sabes :-)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |