Date: Tue, 6 Apr 1999 15:35:01 -0400 Message-Id: <199904061935.PAA01548@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <923349441.478285@eole> (crousto@infonie.be) Subject: Re: DJGPP's random functions. References: <3705018e AT news DOT ismi DOT net> <923349441 DOT 478285 AT eole> Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > The help file speaks about 2 functions : rand() and random(). I've > noticed that rand (or random, i don't remember ;) return always the > same sequence even with a previous srandom(biostime(0,0)), but the > other one works fine. rand() uses srand() random() uses srandom() Don't mix them together.