Thread
:
c-unix-childprocesses-random number
View Single Post
Feb 6th, 2007, 9:39 PM
#
8
DaWei
Resident Grouch
Join Date: Jun 2005
Posts: 6,453
Rep Power:
10
Yup. Seed it just once. If you seed it with the same value more than once, you'll get a repeat of the "random" numbers.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner:
Grumpy on C++ Exceptions
DaWei on Pointers
DaWei
View Public Profile
Visit DaWei's homepage!
Find More Posts by DaWei