delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/28/09:38:43

Date: Thu, 28 Jan 1999 16:37:02 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Sara Berger <ryohay AT ort DOT org DOT il>
cc: djgpp AT delorie DOT com
Subject: Re: randomize
In-Reply-To: <36B0646E.AAD42056@ort.org.il>
Message-ID: <Pine.SUN.3.91.990128163401.29318D-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Thu, 28 Jan 1999, Sara Berger wrote:

> in Borland C++ there is the function "randomize()"  which generates a
> new random number/s everytime it`s used.
> I cant find this function in djgpp so I cant generates new random
> numbers.

There's no `randomize' in DJGPP.  Use "srand(time(NULL))", as the FAQ 
tells you in section 22.22.

> Please send your answer to ryohay AT ort DOT org DOT il

Please make sure your return address is set to that, if you want the 
replies to go to that address.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019