time Delays and Random functions

This is a discussion on time Delays and Random functions within the C++ Programming forums, part of the General Programming Boards category; Thanks for the help How can a "seed" generate a psudeo random numbers? How does random function generators work inside ...

  1. #16
    Registered User
    Join Date
    Feb 2006
    Posts
    17
    Thanks for the help

    How can a "seed" generate a psudeo random numbers?

    How does random function generators work inside the code?

    Is a Seed a special algorithm?

    How can Random fucntion have more than one output? like 5 outputs before it returns or starts over?

    Doesn't a random function have a pattern its going to repeat itself?

  2. #17
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    How can a totally logical machine like a computer generate a random number?

    A seed is a 'random' starting point, like what time it is, from which the bits are flipped around to produce 'pseudo-random numbers'.

    Wiki: Psuedo-random number generator

  3. #18
    Registered User
    Join Date
    Feb 2006
    Posts
    17
    Thanks Tonto for the help

    So the concepts is the random "Flips" and "shuffles" the bits around?

    But how does it "Flip" and "shuffle" the bits ?

    The random function "Distributes the bits around" but how does it do that?

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21