Message-ID: <005501be7ddd$9b38fc00$75e004d0@bowman> From: "robert bowman" To: References: <3705018e AT news DOT ismi DOT net> Subject: Re: DJGPP's random functions. Date: Sat, 3 Apr 1999 07:23:54 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Reply-To: djgpp AT delorie DOT com From: Ike Gingerich > I noticed that the functions that come with DJGPP for generating random numbers > always spit out the random numbers in the same sequence each time the program > is run. Does anyone have any suggestions on my code, or possibly an eayser way to > do this? The easiest way is to type info libc a rand at the DOS prompt, and learn all about the arcane function, 'srand'.