Mail Archives: djgpp/1998/03/27/18:14:52
In article <35169C99 DOT 3B53 AT pobox DOT oleane DOT com>,
Francois Charton <deef AT pobox DOT oleane DOT com> writes:
> generating random looking maps). If you want a "true" (non replicable)
> random series, you may want to use srand(time()) as a seed.
As some people already have pointed out, this only works when your
program runs at least for a single second.
Does somebody know how to take care of getting a different value each
time you run a program, no matter how often in a single second you start
it ?
Albert
---
Sorry, no .sig
The sys admin wiped the previous sig, and I haven't invented a new one yet.
- Raw text -