random number generator

Bryon Lape wozniak at utkux1.utk.edu
Tue Jul 24 05:25:39 AEST 1990


In article <941 at dgis.dtic.dla.mil> tswenson at dgis.dtic.dla.mil (Timothy Swenson) writes:
>
>	Does anyone have a random number generator
>written in C?  Or better yet, Small-C.  I really need
>one for a project I'm working on, and my compiler does
>not have one in it's library.  I'll take anything that 

	I thought that rand() and srand() are standard library
functions!  These will generate random numbers.  srand() is the seed
function while rand() returns a pseudo-random number.


-bryon lape-



More information about the Comp.lang.c mailing list