Click here to Skip to main content
15,917,565 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: FOPEN Redirection Pin
User 42081114-Nov-07 3:53
User 42081114-Nov-07 3:53 
GeneralRe: FOPEN Redirection Pin
Jude Deng2-Feb-08 14:43
Jude Deng2-Feb-08 14:43 
Questiona little help with an idea ?[modified] Pin
steve2028613-Nov-07 9:10
steve2028613-Nov-07 9:10 
AnswerRe: a little help? with an idea Pin
Maximilien13-Nov-07 9:36
Maximilien13-Nov-07 9:36 
GeneralRe: a little help? with an idea [modified] Pin
steve2028614-Nov-07 8:14
steve2028614-Nov-07 8:14 
QuestionPseudoRandom functions in C++ Pin
bigdenny20013-Nov-07 7:32
bigdenny20013-Nov-07 7:32 
AnswerRe: PseudoRandom functions in C++ Pin
jhwurmbach13-Nov-07 7:54
jhwurmbach13-Nov-07 7:54 
AnswerRe: PseudoRandom functions in C++ Pin
Nathan Addy13-Nov-07 8:39
Nathan Addy13-Nov-07 8:39 
What exactly are you trying to do here? There isn't any reason to think that two or more seed parameters will be any better than a single well chosen seed.

Since any random number generator basically produces a repeating (but repeating with a HUGE period) sequence that looks random, and since seeding the generator just tells the RNG where to begin iterating through that sequence, passing in multiple values won't get you anything better than passing in a single numerical value.

Without knowing more about what your goal is, I would say to just use one parameter, or combine them into a single seed value, or something like that.
GeneralRe: PseudoRandom functions in C++ Pin
bigdenny20013-Nov-07 8:59
bigdenny20013-Nov-07 8:59 
GeneralRe: PseudoRandom functions in C++ Pin
Nelek13-Nov-07 22:28
protectorNelek13-Nov-07 22:28 
AnswerRe: PseudoRandom functions in C++ Pin
cp987613-Nov-07 10:05
cp987613-Nov-07 10:05 
QuestionProblem during running multiple instance of an MFC application Pin
Chirag_kalra13-Nov-07 7:30
Chirag_kalra13-Nov-07 7:30 
AnswerRe: Problem during running multiple instance of an MFC application Pin
Bram van Kampen13-Nov-07 13:41
Bram van Kampen13-Nov-07 13:41 
AnswerRe: Problem during running multiple instance of an MFC application Pin
Nelek13-Nov-07 22:21
protectorNelek13-Nov-07 22:21 
AnswerRe: Problem during running multiple instance of an MFC application Pin
Priyank Bolia25-May-08 21:39
Priyank Bolia25-May-08 21:39 
Questionidispatch concepts not understood Pin
prithaa13-Nov-07 7:05
prithaa13-Nov-07 7:05 
AnswerRe: idispatch concepts not understood Pin
led mike13-Nov-07 7:12
led mike13-Nov-07 7:12 
GeneralRe: idispatch concepts not understood Pin
Jim Crafton13-Nov-07 7:16
Jim Crafton13-Nov-07 7:16 
AnswerRe: idispatch concepts not understood Pin
Jim Crafton13-Nov-07 7:16
Jim Crafton13-Nov-07 7:16 
GeneralRe: idispatch concepts not understood Pin
prithaa13-Nov-07 7:30
prithaa13-Nov-07 7:30 
GeneralRe: idispatch concepts not understood Pin
led mike13-Nov-07 7:57
led mike13-Nov-07 7:57 
GeneralRe: idispatch concepts not understood Pin
bob1697213-Nov-07 16:16
bob1697213-Nov-07 16:16 
QuestionSending data - TCP connection Pin
bigdenny20013-Nov-07 7:00
bigdenny20013-Nov-07 7:00 
AnswerRe: Sending data - TCP connection Pin
Jim Crafton13-Nov-07 7:10
Jim Crafton13-Nov-07 7:10 
GeneralRe: Sending data - TCP connection Pin
led mike13-Nov-07 7:16
led mike13-Nov-07 7:16 

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.