Click here to Skip to main content
15,888,124 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMessage Closed Pin
21-Jan-23 10:04
Member 1496877121-Jan-23 10:04 
GeneralRe: foreach() ?? Pin
jschell22-Jan-23 8:26
jschell22-Jan-23 8:26 
QuestionCRichedit and CDC Pin
ForNow18-Jan-23 2:51
ForNow18-Jan-23 2:51 
AnswerMessage Closed Pin
19-Jan-23 23:08
professionalunitedsol zain19-Jan-23 23:08 
GeneralRe: CRichedit and CDC Pin
ForNow20-Jan-23 2:24
ForNow20-Jan-23 2:24 
GeneralRe: CRichedit and CDC Pin
Richard MacCutchan20-Jan-23 2:37
mveRichard MacCutchan20-Jan-23 2:37 
GeneralRe: CRichedit and CDC Pin
ForNow20-Jan-23 3:09
ForNow20-Jan-23 3:09 
QuestionHeap Corruption Durning Streamin Pin
ForNow16-Jan-23 8:09
ForNow16-Jan-23 8:09 
AnswerRe: Heap Corruption Durning Streamin think I found it Pin
ForNow16-Jan-23 16:20
ForNow16-Jan-23 16:20 
GeneralRe: Heap Corruption Durning Streamin think I found it Pin
jschell17-Jan-23 4:12
jschell17-Jan-23 4:12 
GeneralRe: Heap Corruption Durning Streamin think I found it Pin
ForNow17-Jan-23 4:17
ForNow17-Jan-23 4:17 
QuestionMessage Closed Pin
15-Jan-23 15:45
Member 1496877115-Jan-23 15:45 
AnswerRe: Why #if 0 ... #endif Pin
Mircea Neacsu15-Jan-23 15:57
Mircea Neacsu15-Jan-23 15:57 
GeneralMessage Closed Pin
15-Jan-23 16:43
Member 1496877115-Jan-23 16:43 
GeneralRe: Why #if 0 ... #endif Pin
CPallini15-Jan-23 20:36
mveCPallini15-Jan-23 20:36 
Quote:
BUT does
#if 0

evaluates to "true " ?

0 evaluates to 'false' see, for instance, the bottom line of this page: If (The C Preprocessor)[^]

Quote:
I have been using

#ifdef BYPASS

#endif

where BYPASS is not defined
to skip the enclosed block
The compiler skips the code if BYPASS is not defined (that is, the 'condition' is 'false').
"In testa che avete, Signor di Ceprano?"
-- Rigoletto

QuestionWhere does this .exe store its pane layout? Pin
Bardo Mueller15-Jan-23 9:09
Bardo Mueller15-Jan-23 9:09 
AnswerRe: Where does this .exe store its pane layout? Pin
OriginalGriff15-Jan-23 9:10
mveOriginalGriff15-Jan-23 9:10 
GeneralRe: Where does this .exe store its pane layout? Pin
Bardo Mueller15-Jan-23 11:30
Bardo Mueller15-Jan-23 11:30 
QuestionMessage Closed Pin
14-Jan-23 5:42
Member 1496877114-Jan-23 5:42 
AnswerRe: Why "so many " - include , forward declaration... Pin
CPallini14-Jan-23 7:23
mveCPallini14-Jan-23 7:23 
AnswerRe: Why "so many " - include , forward declaration... Pin
Richard MacCutchan14-Jan-23 22:25
mveRichard MacCutchan14-Jan-23 22:25 
AnswerRe: Why "so many " - include , forward declaration... Pin
jschell15-Jan-23 8:00
jschell15-Jan-23 8:00 
GeneralMessage Closed Pin
15-Jan-23 16:56
Member 1496877115-Jan-23 16:56 
GeneralRe: Why "so many " - include , forward declaration... Pin
jschell17-Jan-23 3:33
jschell17-Jan-23 3:33 
QuestionCRichEditCtrl size limit Pin
ForNow11-Jan-23 15:22
ForNow11-Jan-23 15:22 

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.