
- Forum
- Programming Talk
- C and C++
- Is this Similar or Different
Is this Similar or Different
This is a discussion on Is this Similar or Different within the C and C++ forums, part of the Programming Talk category; I know about random number generation but what does the term seed random means. Is this same as random number ...
-
Is this Similar or Different
I know about random number generation but what does the term seed random means. Is this same as random number if not what is the difference?
-
The random seed is also refereed as seed state or seed. This indicates a number and sometimes a vector and is used for initializing a pseudorandom number generator. Thus it is used for random number generation and does not refer the same term.
-
Seed is used to set the starting point for generating a series of random numbers. If you use the same seed everytime, you will get the same set of numbers everytime. To avoid it, use a unique seed (microsoft uses number of seconds since 1970 or something similar) so everytime you run the random number generator, you get a different set of random numbers.
-
Sponsored Ads

Reply With Quote





