| | |
True Random Number Generator
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
You'll have to use the
Edit:: A remark on the title of this thread: A computer will never be able to generate real random numbers
rand function, look here for some information about it ...Edit:: A remark on the title of this thread: A computer will never be able to generate real random numbers
Last edited by tux4life; Apr 26th, 2009 at 11:42 am.
"Never argue with idiots, they just drag you down to their level and then beat you with experience."
Last edited by tux4life; Apr 26th, 2009 at 11:48 am.
"Never argue with idiots, they just drag you down to their level and then beat you with experience."
Well, you may record the sound to a file. Then use some hashing algorithm ( like md5sum) to calculate the hash number of that file.
Each different type of sound will give you different files. And if two files are different, their md5sum hash will of course be different.
Each different type of sound will give you different files. And if two files are different, their md5sum hash will of course be different.
Siddhant Sanyam
(Not posting much)
Migrate to Standard C++ :When to tell your C++ Code is Non-Standard.
Please Read before posting: How To Ask Questions The Smart Way
(Not posting much)
Migrate to Standard C++ :When to tell your C++ Code is Non-Standard.
Please Read before posting: How To Ask Questions The Smart Way
•
•
•
•
Ok so I want to create some code which can generate a random number from a
1. Music file
2. A microphone
PLEASE is their anyway i can do this
It's the other story why...
The key point is: what's (and why) a distribution of your home-made generated sequence? If you don't know the answer then it's not a true random number generator...
![]() |
Similar Threads
- C++ Program using Stacks, and Random Number Generator. Please Help.... (C++)
- Random Parralel Array (C++)
- Random number generation (C)
- random numbers, and 2 dimensional array (C++)
- C++ Random Numbers (C++)
- using random number generator "globally" in a c++ class (C++)
- choose a random element from a sequence (C++)
- random function generator (C)
- generating random numbers into an array.. (Java)
Other Threads in the C++ Forum
- Previous Thread: API to get CPU utilization
- Next Thread: need help..want to input only alphabets
| Thread Tools | Search this Thread |
api array based beginner binary bitmap c++ c/c++ calculator char char* class code coding compile compiler console conversion count database delete deploy developer dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game getline givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int java lib linkedlist linker list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference rpg sorting string strings temperature template test text text-file tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






, I thought he wanted to generate a random number for the filename of a music file ...