Search Results

Search: Posts Made By: manisum
Forum: Programming 02-10-2012
13,226
Posted By Corona688
Yes, you have to do it in the child process. If...
Yes, you have to do it in the child process. If you do it in the parent, you get 20 identical copies of the parent, and 20 identical copies of the parent's seed, and 20 identical random numbers. I...
Forum: Programming 02-10-2012
13,226
Posted By Corona688
If you put the same seed in, you get the same...
If you put the same seed in, you get the same numbers out.

time() only changes once a second. How long does your program take to run? Less than a second?

That's why I suggested putting the...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 02:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy