delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/21/12:00:25

From: Van Mo Dang <van DOT mo DOT dang AT utc DOT fr>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: random numbers?
Date: Wed, 21 Jan 1998 17:35:51 +0100
Organization: Université de Technologie de Compiègne
Lines: 22
Message-ID: <34C623E7.4BBD@utc.fr>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980121174156 DOT 28141E-100000 AT is>
NNTP-Posting-Host: asterix.hds.utc.fr
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eli Zaretskii wrote:

 > > 2 - Which file should be included to know their prototypes ?
> 
> None.  Just declare the prototype yourself.

Thank you for your fast answer and the information.
Isn't it kind of unusual that the prototypes of these functions 
are not declared in any constant header file? 

All C library functions I have used until now can be declared
using a provided header file.  I find it reassuring, 
because errors in copying the prototypes locally
can be avoided by using such header files.  
This makes me hesitate somewhat to use random() and srandom(),
although those RNG are said to provide "better" (in which sense
exactly?) random numbers than rand() and srand().

Regards,

Mo Van DANG
van DOT mo DOT dang AT utc DOT fr

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019