Click here to Skip to main content
15,921,837 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: STL Getting on my t*ts Pin
RChin24-Sep-03 4:56
RChin24-Sep-03 4:56 
GeneralRe: STL Getting on my t*ts Pin
RobJones24-Sep-03 5:11
RobJones24-Sep-03 5:11 
GeneralRe: STL Getting on my t*ts Pin
jhwurmbach24-Sep-03 5:25
jhwurmbach24-Sep-03 5:25 
GeneralRe: STL Getting on my t*ts Pin
RobJones24-Sep-03 5:42
RobJones24-Sep-03 5:42 
GeneralRe: STL Getting on my t*ts Pin
markkuk24-Sep-03 5:38
markkuk24-Sep-03 5:38 
GeneralRe: STL Getting on my t*ts Pin
RChin24-Sep-03 5:41
RChin24-Sep-03 5:41 
Questionhow to clear the txt froma file and rewrite? Pin
ns24-Sep-03 4:16
ns24-Sep-03 4:16 
AnswerRe: how to clear the txt froma file and rewrite? Pin
RChin24-Sep-03 4:25
RChin24-Sep-03 4:25 
GeneralStream OLE objects into a CRichEditCtrl Pin
CodeBrain24-Sep-03 2:39
CodeBrain24-Sep-03 2:39 
GeneralRe: Stream OLE objects into a CRichEditCtrl Pin
Joel Lucsy24-Sep-03 2:47
Joel Lucsy24-Sep-03 2:47 
GeneralRe: Stream OLE objects into a CRichEditCtrl Pin
CodeBrain24-Sep-03 3:13
CodeBrain24-Sep-03 3:13 
GeneralRe: Stream OLE objects into a CRichEditCtrl Pin
CodeBrain24-Sep-03 4:14
CodeBrain24-Sep-03 4:14 
Generalscale control in inches Pin
KKR24-Sep-03 2:15
KKR24-Sep-03 2:15 
Generalerror with deleting database record Pin
coda_x24-Sep-03 2:00
coda_x24-Sep-03 2:00 
GeneralRe: error with deleting database record Pin
Terry O'Nolley24-Sep-03 5:46
Terry O'Nolley24-Sep-03 5:46 
GeneralRe: error with deleting database record Pin
coda_x25-Sep-03 0:32
coda_x25-Sep-03 0:32 
GeneralAdding Text With Superscript to Dialog Title Bar Pin
Doug Knudson24-Sep-03 1:40
Doug Knudson24-Sep-03 1:40 
GeneralRe: Adding Text With Superscript to Dialog Title Bar Pin
Roger Allen24-Sep-03 2:15
Roger Allen24-Sep-03 2:15 
GeneralConverting app to Unicode Pin
markhatsell24-Sep-03 1:07
markhatsell24-Sep-03 1:07 
GeneralRe: Converting app to Unicode Pin
Ravi Bhavnani24-Sep-03 4:34
professionalRavi Bhavnani24-Sep-03 4:34 
GeneralMSComm, MFC, and Win98 compatibility problem Pin
caykahve23-Sep-03 23:42
caykahve23-Sep-03 23:42 
Generalpassing boolean as argument Pin
PaulUK0123-Sep-03 23:38
PaulUK0123-Sep-03 23:38 
GeneralRe: passing boolean as argument Pin
jhwurmbach23-Sep-03 23:58
jhwurmbach23-Sep-03 23:58 
GeneralRe: passing boolean as argument Pin
PaulUK0124-Sep-03 0:49
PaulUK0124-Sep-03 0:49 
GeneralRe: passing boolean as argument Pin
jhwurmbach24-Sep-03 1:14
jhwurmbach24-Sep-03 1:14 
PaulUK01 wrote:
Wouldn't passing func(m_boolPar1!=FALSE) mean that func always recieves a parameter with the same value, ie TRUE???

The operator!= returns a C++ bool. If both of its parameter are not equal, it is supposed to return true.
In the call of func(m_boolPar1!=FALSE), the expression (m_boolPar1!=FALSE) evaluates to true if m_boolPar1 is not equal to FALSE (which happens to be #defined to be 0).
This bool will then be used as a parameter for the call to func().

So func() will be called with the desired bool value instead of a typedefed int.



Who is 'General Failure'? And why is he reading my harddisk?!?

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.