Click here to Skip to main content
16,004,991 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: serial io question with C++ Pin
led mike7-May-06 20:23
led mike7-May-06 20:23 
QuestionPassword Dialog Box Pin
anjita7-May-06 18:51
anjita7-May-06 18:51 
AnswerRe: Password Dialog Box Pin
Naveen7-May-06 19:04
Naveen7-May-06 19:04 
GeneralRe: Password Dialog Box Pin
anjita8-May-06 18:23
anjita8-May-06 18:23 
Questionto get all da records.... Pin
makaveli_077-May-06 16:35
makaveli_077-May-06 16:35 
AnswerRe: to get all da records.... Pin
Stephen Hewitt7-May-06 16:58
Stephen Hewitt7-May-06 16:58 
GeneralRe: to get all da records.... Pin
makaveli_077-May-06 17:12
makaveli_077-May-06 17:12 
GeneralRe: to get all da records.... Pin
Stephen Hewitt7-May-06 17:17
Stephen Hewitt7-May-06 17:17 
Imaging you have a dice with 100 sides each labeled with a number. If you want to make a list of all the numbers how do you proceed? One way would be keep rolling the dice and if the number you roll is not on your list you add it. This is very inefficient and non-deterministic however. A simper way would be just to inspect every side. This is similar to the problem you’re having. Using a random shuffle in a loop is not a good way to get every permutation of a sequence: although eventually it will product every combination.

Steve
GeneralRe: to get all da records.... Pin
makaveli_077-May-06 17:22
makaveli_077-May-06 17:22 
GeneralRe: to get all da records.... Pin
Stephen Hewitt7-May-06 18:15
Stephen Hewitt7-May-06 18:15 
QuestionRe: to get all da records.... Pin
Maxwell Chen7-May-06 20:38
Maxwell Chen7-May-06 20:38 
AnswerRe: to get all da records.... Pin
Stephen Hewitt7-May-06 20:45
Stephen Hewitt7-May-06 20:45 
GeneralRe: to get all da records.... Pin
Maxwell Chen7-May-06 18:08
Maxwell Chen7-May-06 18:08 
GeneralRe: to get all da records.... Pin
makaveli_077-May-06 20:33
makaveli_077-May-06 20:33 
GeneralRe: to get all da records.... Pin
Stephen Hewitt7-May-06 20:42
Stephen Hewitt7-May-06 20:42 
QuestionAbout WM_KEYDOWN Pin
yourmom887-May-06 10:18
yourmom887-May-06 10:18 
AnswerRe: About WM_KEYDOWN Pin
Neville Franks7-May-06 11:35
Neville Franks7-May-06 11:35 
AnswerRe: About WM_KEYDOWN Pin
Russell'7-May-06 22:22
Russell'7-May-06 22:22 
Questionwhy small ball jump, background bmp jump too? Pin
alan top7-May-06 9:32
alan top7-May-06 9:32 
AnswerRe: why small ball jump, background bmp jump too? Pin
alan top7-May-06 22:52
alan top7-May-06 22:52 
QuestionConvert an unsigned int to char* Pin
ThiagoFragoso7-May-06 8:59
ThiagoFragoso7-May-06 8:59 
AnswerRe: Convert an unsigned int to char* Pin
alan top7-May-06 9:43
alan top7-May-06 9:43 
AnswerRe: Convert an unsigned int to char* Pin
Hamid_RT7-May-06 18:45
Hamid_RT7-May-06 18:45 
AnswerRe: Convert an unsigned int to char* Pin
Laxman Auti7-May-06 18:47
Laxman Auti7-May-06 18:47 
AnswerRe: Convert an unsigned int to char* Pin
baldha rakesh7-May-06 20:37
baldha rakesh7-May-06 20:37 

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.