Date: Thu, 21 Nov 1996 13:14:24 +0200 (IST) From: Eli Zaretskii To: Koen DOT VanHerck AT barco DOT com Cc: djgpp AT delorie DOT com Subject: Re: Proper use of rand() In-Reply-To: <9611211003.AA01758@ivs4.> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 21 Nov 1996, Koen Van Herck wrote: > It seems that rand() and random() always return the same numbers when > a program is started. This is a feature. All random functions return serias which can be repeated exactly on the next run. Otherwise, people who run simulations could not debug their programs and compare the results from different runs.