Random problem (that is, problem with random())

Peter Dufault dufault at hda.com
Mon Mar 28 20:12:26 UTC 2005

On Mar 28, 2005, at 9:00 AM, Sergei Organov wrote:

> Thus, random() is BSD beast, not ISO or POSIX.
> ISO C equivalent is called rand().

Good point.  As is well known, "classic" rand() has its own problems, 
plus I still don't understand why the definition of random() isn't 
being published since it is in the header.  It must need a 
feature-enabling define before it shows up in the name space.


Peter Dufault
HD Associates, Inc.

More information about the users mailing list