Click here to Skip to main content
15,915,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRegarding Clip board contents Pin
rajeevktripathi10-Apr-06 3:17
rajeevktripathi10-Apr-06 3:17 
QuestionRe: Regarding Clip board contents Pin
David Crow10-Apr-06 4:19
David Crow10-Apr-06 4:19 
AnswerRe: Regarding Clip board contents Pin
Hamid_RT10-Apr-06 5:41
Hamid_RT10-Apr-06 5:41 
AnswerRe: Regarding Clip board contents Pin
Michael Dunn10-Apr-06 6:14
sitebuilderMichael Dunn10-Apr-06 6:14 
Questionhow to get the main windows of apps that has a button on window's taskbar? Pin
supertianqu10-Apr-06 3:17
supertianqu10-Apr-06 3:17 
AnswerRe: how to get the main windows of apps that has a button on window's taskbar? Pin
Naveen10-Apr-06 3:28
Naveen10-Apr-06 3:28 
Questionrandom_shuffle(begin,end, &randfunction) 3rd argument? Pin
9ine10-Apr-06 3:09
9ine10-Apr-06 3:09 
AnswerRe: random_shuffle(begin,end, &randfunction) 3rd argument? Pin
Waldermort10-Apr-06 3:17
Waldermort10-Apr-06 3:17 
Yes it would allow you to provide your own randomising function possibly with something a little more random than the rand() function.

You say it always sorts the same way, did you forget to call srand() first? Faliure to do this would cause the same random numbers to be be produced. A common method is to call srand(time(NULL)) though it's been a while since I used it.
GeneralRe: random_shuffle(begin,end, &randfunction) 3rd argument? Pin
9ine10-Apr-06 4:09
9ine10-Apr-06 4:09 
GeneralRe: random_shuffle(begin,end, &randfunction) 3rd argument? Pin
Waldermort10-Apr-06 5:26
Waldermort10-Apr-06 5:26 
GeneralRe: random_shuffle(begin,end, &randfunction) 3rd argument? Pin
9ine10-Apr-06 5:41
9ine10-Apr-06 5:41 
Questiondifference between RunTime and Link Time Pin
Krishnatv10-Apr-06 2:48
Krishnatv10-Apr-06 2:48 
AnswerRe: difference between RunTime and Link Time Pin
David Crow10-Apr-06 2:54
David Crow10-Apr-06 2:54 
AnswerRe: difference between RunTime and Link Time Pin
toxcct10-Apr-06 2:55
toxcct10-Apr-06 2:55 
AnswerRe: difference between RunTime and Link Time Pin
Cedric Moonen10-Apr-06 2:56
Cedric Moonen10-Apr-06 2:56 
AnswerRe: difference between RunTime and Link Time Pin
James R. Twine10-Apr-06 3:07
James R. Twine10-Apr-06 3:07 
AnswerRe: difference between RunTime and Link Time Pin
RabiaAslam10-Apr-06 3:53
RabiaAslam10-Apr-06 3:53 
GeneralRe: difference between RunTime and Link Time Pin
Krishnatv10-Apr-06 19:34
Krishnatv10-Apr-06 19:34 
QuestionResizing problem Pin
mikobi10-Apr-06 2:17
mikobi10-Apr-06 2:17 
AnswerRe: Resizing problem Pin
includeh1010-Apr-06 3:05
includeh1010-Apr-06 3:05 
GeneralRe: Resizing problem Pin
mikobi10-Apr-06 3:57
mikobi10-Apr-06 3:57 
Questionwhy can not I get a long filename through GetModuleFileName( )? Pin
ewighell10-Apr-06 2:09
ewighell10-Apr-06 2:09 
QuestionRe: why can not I get a long filename through GetModuleFileName( )? Pin
David Crow10-Apr-06 2:25
David Crow10-Apr-06 2:25 
AnswerRe: why can not I get a long filename through GetModuleFileName( )? Pin
Thierry Maurel10-Apr-06 2:25
Thierry Maurel10-Apr-06 2:25 
AnswerRe: why can not I get a long filename through GetModuleFileName( )? Pin
Naveen10-Apr-06 2:26
Naveen10-Apr-06 2:26 

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.