Date: Sat, 12 Mar 1994 03:38:25 -0500 From: meetze AT charlie DOT ece DOT scarolina DOT edu (Murle C. Meetze III) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: rand() >My only remaining problem is with rand(), which always seems to return the >same sequence. Usually there is an initialization routine, but I can't find >it yet. I am not sure if you know. From what I am hearing I think that you know about it. But of the rand() functions I have seen most are pseudo-random number generators. Meaning if you have a program that prints out 10 random numbers, ever time you run it you will get the same thing. It usually has a function known as a seed or like you said an initialization function which starts the random number generator. I haven't workied with the rand() function on gcc yet, so I can't tell you what the name of the function is.(the init. one)