Click here to Skip to main content
15,885,985 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Shift + VK_LEFT Pin
_Flaviu20-Sep-15 23:15
_Flaviu20-Sep-15 23:15 
Question[SOLVED?] Using "this" pointer to "copy" pointer Pin
Vaclav_19-Sep-15 17:11
Vaclav_19-Sep-15 17:11 
AnswerRe: Using "this" pointer to "copy" pointer Pin
Richard MacCutchan19-Sep-15 21:10
mveRichard MacCutchan19-Sep-15 21:10 
GeneralRe: Using "this" pointer to "copy" pointer Pin
Vaclav_20-Sep-15 3:02
Vaclav_20-Sep-15 3:02 
GeneralRe: Using "this" pointer to "copy" pointer Pin
Richard MacCutchan20-Sep-15 6:42
mveRichard MacCutchan20-Sep-15 6:42 
AnswerRe: [SOLVED?] Using "this" pointer to "copy" pointer Pin
Richard MacCutchan20-Sep-15 6:52
mveRichard MacCutchan20-Sep-15 6:52 
QuestionHow to break an infinite loop Pin
Mohamed Nehad18-Sep-15 16:57
Mohamed Nehad18-Sep-15 16:57 
AnswerRe: How to break an infinite loop Pin
Richard MacCutchan18-Sep-15 21:43
mveRichard MacCutchan18-Sep-15 21:43 
You have to include some code inside the loop to recognise the keystroke or some other event to break out of the loop. If you add a getch then that would pause the loop until the keystroke is delivered. To get round this you can put that code in a separate thread and set a flag for the loop to check. You could also use _kbhit[^], although it has limitations.
AnswerRe: How to break an infinite loop Pin
Fuseteam19-Sep-15 8:36
Fuseteam19-Sep-15 8:36 
QuestionDefine 'Enter' key in C Pin
Mohamed Nehad18-Sep-15 16:52
Mohamed Nehad18-Sep-15 16:52 
QuestionRe: Define 'Enter' key in C Pin
Richard MacCutchan18-Sep-15 21:44
mveRichard MacCutchan18-Sep-15 21:44 
AnswerRe: Define 'Enter' key in C Pin
Mohamed Nehad20-Sep-15 12:04
Mohamed Nehad20-Sep-15 12:04 
QuestionCall to std::thread::join() in the destructor of a global variable Pin
dchabaud17-Sep-15 3:49
dchabaud17-Sep-15 3:49 
AnswerRe: Call to std::thread::join() in the destructor of a global variable Pin
CPallini17-Sep-15 5:13
mveCPallini17-Sep-15 5:13 
GeneralRe: Call to std::thread::join() in the destructor of a global variable Pin
dchabaud17-Sep-15 5:27
dchabaud17-Sep-15 5:27 
QuestionRe: Call to std::thread::join() in the destructor of a global variable Pin
CPallini17-Sep-15 5:32
mveCPallini17-Sep-15 5:32 
AnswerRe: Call to std::thread::join() in the destructor of a global variable Pin
dchabaud17-Sep-15 20:57
dchabaud17-Sep-15 20:57 
GeneralRe: Call to std::thread::join() in the destructor of a global variable Pin
CPallini17-Sep-15 22:05
mveCPallini17-Sep-15 22:05 
Questionaccess violation with std::map (VS2015) Pin
Member 853403517-Sep-15 3:41
Member 853403517-Sep-15 3:41 
QuestionRe: access violation with std::map (VS2015) Pin
David Crow17-Sep-15 5:06
David Crow17-Sep-15 5:06 
QuestionRe: access violation with std::map (VS2015) Pin
CPallini17-Sep-15 5:09
mveCPallini17-Sep-15 5:09 
QuestionPassing parameters to constructor - very obvious and basic question from an OF Pin
Vaclav_16-Sep-15 11:31
Vaclav_16-Sep-15 11:31 
QuestionRe: Passing parameters to constructor - very obvious and basic question from an OF Pin
CPallini16-Sep-15 21:09
mveCPallini16-Sep-15 21:09 
AnswerRe: Passing parameters to constructor - very obvious and basic question from an OF Pin
Richard MacCutchan16-Sep-15 21:31
mveRichard MacCutchan16-Sep-15 21:31 
GeneralRe: Passing parameters to constructor - very obvious and basic question from an OF Pin
Vaclav_19-Sep-15 1:29
Vaclav_19-Sep-15 1:29 

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.