Click to See Complete Forum and Search --> : Random number generator
hometown
October 21st, 2003, 11:10 AM
What is that ???? Why do people usually ask about RNG in C++ ??? Does it have any applicabilities (:) *) in computer ? Gurus tell me please...
Thanks,
Home
Note: * == I think it will sound strange...:)
Doctor Luz
October 21st, 2003, 12:12 PM
I think its name describes itself. They are for generating random sets of numbers. And the applications are all where you need a random set of numbers. For example a card game program. Suppose you are making a strip-poker program, you might want the cards to be given randomly (or not?) Then you use a RNG to give the cards to every one.
:mad:
hometown
October 21st, 2003, 02:43 PM
Originally posted by Doctor Luz
I think its name describes itself. They are for generating random sets of numbers. And the applications are all where you need a random set of numbers. For example a card game program. Suppose you are making a strip-poker program, you might want the cards to be given randomly (or not?) Then you use a RNG to give the cards to every one.
:mad:
Thannks alot,
Please dont get mad about me like that....:)
I just dont know much like you do, Guru !
Thanks,
mwilliamson
October 21st, 2003, 03:22 PM
It used alot also in computer simulations. If you didn't have any randomness, then your simulation would be the same every time!
hometown
October 21st, 2003, 03:36 PM
Thanks MWilliamson,
Hometown
SolarFlare
October 21st, 2003, 05:38 PM
Originally posted by hometown
What is that ???? Why do people usually ask about RNG in C++ ??? Does it have any applicabilities (:) *) in computer ? Gurus tell me please...
Thanks,
Home
Note: * == I think it will sound strange...:)
Before computers, there were just pages of NUMBERS. I mean, entire books of NUMBERS until you couldn't see anything else anymore. Random numbers are extremely important in statistics, and statistics dominates much of practical real-life-type things, such as taking a census, etc.
hometown
October 21st, 2003, 07:01 PM
Thanks SolarFlare...
-Hometown
Doctor Luz
October 22nd, 2003, 03:08 AM
Originally posted by hometown
Thannks alot,
Please dont get mad about me like that....:)
I just dont know much like you do, Guru !
Thanks,
Ups! sorry I wanted to insert the above icon, not the mad icon.
:p
hometown
October 22nd, 2003, 10:10 AM
:)
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.