Click here to Skip to main content
15,909,835 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Custom Control Pin
xchen199813-Jun-09 13:44
xchen199813-Jun-09 13:44 
QuestionHelp with rand() definition [modified] Pin
Grimes12-Jun-09 6:58
Grimes12-Jun-09 6:58 
AnswerRe: Help with rand() definition Pin
Luc Pattyn12-Jun-09 7:14
sitebuilderLuc Pattyn12-Jun-09 7:14 
GeneralRe: Help with rand() definition Pin
Grimes12-Jun-09 7:47
Grimes12-Jun-09 7:47 
AnswerRe: Help with rand() definition Pin
Randor 12-Jun-09 7:16
professional Randor 12-Jun-09 7:16 
GeneralRe: Help with rand() definition Pin
Grimes12-Jun-09 8:02
Grimes12-Jun-09 8:02 
GeneralRe: Help with rand() definition Pin
harold aptroot12-Jun-09 8:50
harold aptroot12-Jun-09 8:50 
GeneralRe: Help with rand() definition Pin
Grimes12-Jun-09 17:03
Grimes12-Jun-09 17:03 
I know that there will be many values of next for every possible random number. I calculated that for the random generator I have, that there will be almost 1311 values of 'next' for every random number.
I got this by: (32768/50)*(65536/32768)=65536/50 = 1311.

I was hoping to predict the next random number in a series by using these 1311 values to see which of those values would give the next random number.
I order to do this I need the definition of the random function used and I also need x amount of previous random numbers in order to predict the next. It seems from everybodie's replies that there are many different random number generators, I was hoping that there was a common function used by most programmers.

but thanks anyway...

KOM UIT DAAAAA!!!

GeneralRe: Help with rand() definition [modified] Pin
T210212-Jun-09 22:57
T210212-Jun-09 22:57 
GeneralRe: Help with rand() definition Pin
Grimes12-Jun-09 23:44
Grimes12-Jun-09 23:44 
GeneralRe: Help with rand() definition [modified] Pin
T210212-Jun-09 23:57
T210212-Jun-09 23:57 
QuestionHow to Custom a papersize during a printer work under windows 2000/xp [modified] Pin
Crazy Wu12-Jun-09 5:40
Crazy Wu12-Jun-09 5:40 
AnswerRe: How to Custom a papersize during a printer work under windows 2000/xp Pin
Crazy Wu12-Jun-09 17:36
Crazy Wu12-Jun-09 17:36 
QuestionConversion Pin
reddy0712-Jun-09 5:08
reddy0712-Jun-09 5:08 
AnswerRe: Conversion Pin
Crazy Wu12-Jun-09 5:48
Crazy Wu12-Jun-09 5:48 
AnswerRe: Conversion Pin
CPallini12-Jun-09 5:51
mveCPallini12-Jun-09 5:51 
AnswerRe: Conversion Pin
Rajesh R Subramanian12-Jun-09 9:20
professionalRajesh R Subramanian12-Jun-09 9:20 
GeneralRe: Conversion Pin
reddy0712-Jun-09 9:30
reddy0712-Jun-09 9:30 
QuestionUsing WMI to get hardware information Pin
Anthony Mushrow12-Jun-09 4:49
professionalAnthony Mushrow12-Jun-09 4:49 
QuestionRe: Using WMI to get hardware information Pin
Randor 12-Jun-09 6:23
professional Randor 12-Jun-09 6:23 
AnswerRe: Using WMI to get hardware information Pin
Anthony Mushrow12-Jun-09 7:47
professionalAnthony Mushrow12-Jun-09 7:47 
GeneralRe: Using WMI to get hardware information Pin
Randor 12-Jun-09 8:36
professional Randor 12-Jun-09 8:36 
GeneralRe: Using WMI to get hardware information Pin
Anthony Mushrow15-Jun-09 0:50
professionalAnthony Mushrow15-Jun-09 0:50 
AnswerRe: Using WMI to get hardware information Pin
Stuart Dootson12-Jun-09 13:00
professionalStuart Dootson12-Jun-09 13:00 
GeneralRe: Using WMI to get hardware information Pin
Anthony Mushrow15-Jun-09 0:46
professionalAnthony Mushrow15-Jun-09 0:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.