Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to do function like cout Pin
KARFER1-Feb-11 6:10
KARFER1-Feb-11 6:10 
AnswerRe: how to do function like cout Pin
Richard MacCutchan1-Feb-11 6:16
mveRichard MacCutchan1-Feb-11 6:16 
AnswerRe: how to do function like cout Pin
«_Superman_»1-Feb-11 7:48
professional«_Superman_»1-Feb-11 7:48 
AnswerRe: how to do function like cout Pin
Stefan_Lang1-Feb-11 23:18
Stefan_Lang1-Feb-11 23:18 
QuestionRelease VS Debug compiles Pin
Khan Shere1-Feb-11 3:47
Khan Shere1-Feb-11 3:47 
AnswerRe: Release VS Debug compiles Pin
Chris Losinger1-Feb-11 3:51
professionalChris Losinger1-Feb-11 3:51 
GeneralRe: Release VS Debug compiles Pin
Khan Shere1-Feb-11 3:55
Khan Shere1-Feb-11 3:55 
GeneralRe: Release VS Debug compiles Pin
Richard MacCutchan1-Feb-11 4:21
mveRichard MacCutchan1-Feb-11 4:21 
Khan Shere wrote:
In release, it's as if the instruction is not there...

That is because the instructions are not there. Take a look at your source; all the code between #ifdef _DEBUG and its corresponding #endif will be excluded from the release build.

NB please also use <pre></pre> tags (not code) to format your code blocks.
I must get a clever new signature for 2011.

GeneralRe: Release VS Debug compiles Pin
Khan Shere1-Feb-11 5:01
Khan Shere1-Feb-11 5:01 
GeneralRe: Release VS Debug compiles Pin
Richard MacCutchan1-Feb-11 6:13
mveRichard MacCutchan1-Feb-11 6:13 
AnswerRe: Release VS Debug compiles Pin
Andrew Brock1-Feb-11 4:50
Andrew Brock1-Feb-11 4:50 
GeneralRe: Release VS Debug compiles [modified] Pin
Aescleal1-Feb-11 7:58
Aescleal1-Feb-11 7:58 
AnswerRe: Release VS Debug compiles Pin
User 74293381-Feb-11 10:02
professionalUser 74293381-Feb-11 10:02 
GeneralRe: Release VS Debug compiles Pin
Khan Shere1-Feb-11 20:57
Khan Shere1-Feb-11 20:57 
Questionuse the member pointer via a Get function and allocate memory outside, not clear why in this way Pin
George Nistor1-Feb-11 1:36
George Nistor1-Feb-11 1:36 
AnswerRe: use the member pointer via a Get function and allocate memory outside, not clear why in this way Pin
Niklas L1-Feb-11 1:49
Niklas L1-Feb-11 1:49 
AnswerRe: use the member pointer via a Get function and allocate memory outside, not clear why in this way Pin
Andrew Brock1-Feb-11 2:17
Andrew Brock1-Feb-11 2:17 
Questionerror C2011: 'CMemDC' : 'class' type redefinition Pin
VCProgrammer31-Jan-11 21:25
VCProgrammer31-Jan-11 21:25 
AnswerRe: error C2011: 'CMemDC' : 'class' type redefinition Pin
Cool_Dev31-Jan-11 21:38
Cool_Dev31-Jan-11 21:38 
GeneralRe: error C2011: 'CMemDC' : 'class' type redefinition Pin
VCProgrammer31-Jan-11 21:41
VCProgrammer31-Jan-11 21:41 
GeneralRe: error C2011: 'CMemDC' : 'class' type redefinition Pin
PJ Arends1-Feb-11 18:14
professionalPJ Arends1-Feb-11 18:14 
GeneralRe: error C2011: 'CMemDC' : 'class' type redefinition Pin
Malli_S1-Feb-11 20:40
Malli_S1-Feb-11 20:40 
QuestionPreprocessor Directive Pin
pix_programmer31-Jan-11 17:34
pix_programmer31-Jan-11 17:34 
AnswerRe: Preprocessor Directive PinPopular
Andrew Brock31-Jan-11 17:48
Andrew Brock31-Jan-11 17:48 
GeneralRe: Preprocessor Directive Pin
Niklas L31-Jan-11 21:15
Niklas L31-Jan-11 21:15 

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.