Click here to Skip to main content
15,612,988 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
QuestionWhy #if 0 ... #endif Pin
Member 1496877115-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 
GeneralRe: Why #if 0 ... #endif Pin
Member 1496877115-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
mvaOriginalGriff15-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 
QuestionWhy "so many " - include , forward declaration... Pin
Member 1496877114-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 
GeneralRe: Why "so many " - include , forward declaration... Pin
Member 1496877115-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 
AnswerRe: CRichEditCtrl size limit Pin
Mircea Neacsu11-Jan-23 15:47
Mircea Neacsu11-Jan-23 15:47 
GeneralRe: CRichEditCtrl size limit Pin
ForNow11-Jan-23 15:48
ForNow11-Jan-23 15:48 
QuestionBitmaps, device dependent vs device independent, which is faster (or better)? Pin
Member 1507871611-Jan-23 10:57
Member 1507871611-Jan-23 10:57 
AnswerRe: Bitmaps, device dependent vs device independent, which is faster (or better)? Pin
CPallini11-Jan-23 20:43
mveCPallini11-Jan-23 20:43 
Questionwhat I am doing regarding Heap corruption Pin
ForNow10-Jan-23 15:33
ForNow10-Jan-23 15:33 
AnswerRe: what I am doing regarding Heap corruption Pin
CPallini10-Jan-23 20:08
mveCPallini10-Jan-23 20:08 
GeneralRe: what I am doing regarding Heap corruption Pin
ForNow11-Jan-23 1:33
ForNow11-Jan-23 1:33 

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.