random number, how do I do it?

Richard H. Gumpertz rhg at cpsolv.UUCP
Fri Nov 17 13:30:30 AEST 1989


In article <5726 at ozdaltx.UUCP> root at ozdaltx.UUCP (root) writes:
>    extern unsigned short rand();

rand returns int.  If int != short in your implementation, that could
account for your problems. 

-- 
===============================================================================
| Richard H. Gumpertz rhg%cpsolv at uunet.uu.NET -or- ...uunet!amgraf!cpsolv!rhg |
| Computer Problem Solving, 8905 Mohawk Lane, Leawood, Kansas 66206-1749      |
===============================================================================



More information about the Comp.lang.c mailing list