|
|
|
3 registered members (AndrewAMD, kzhao, qin),
21,501
guests, and 6
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Randomizer?
[Re: Tiinusen]
#124457
04/18/07 12:09
04/18/07 12:09
|
Joined: Dec 2002
Posts: 3,375 Vindobona (Ostarichi)
Harry Potter
Expert
|
Expert
Joined: Dec 2002
Posts: 3,375
Vindobona (Ostarichi)
|
Quote:
well so i chould start with randomize(); in the main or do i have to use it everytime before i uses random(); ??
The answer for this question you can also find in the manual: 
Quote:
The number returned is fractional, and is always less than the upper limit. The random sequence starts always with the same numbers, unless 'randomized' at game start by randomize().
|
|
|
|
|
|
|