Click here to Skip to main content
15,889,861 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionC++ Pin
Baeltazor5-Aug-09 18:36
Baeltazor5-Aug-09 18:36 
AnswerRe: C++ Pin
Code-o-mat5-Aug-09 21:18
Code-o-mat5-Aug-09 21:18 
Question(NULL == p) vs (p == NULL) Pin
fitatc5-Aug-09 16:04
fitatc5-Aug-09 16:04 
AnswerRe: (NULL == p) vs (p == NULL) Pin
hanq_389101305-Aug-09 16:31
hanq_389101305-Aug-09 16:31 
GeneralRe: (NULL == p) vs (p == NULL) Pin
Joe Woodbury5-Aug-09 16:47
professionalJoe Woodbury5-Aug-09 16:47 
GeneralRe: (NULL == p) vs (p == NULL) Pin
hanq_389101305-Aug-09 16:57
hanq_389101305-Aug-09 16:57 
GeneralRe: (NULL == p) vs (p == NULL) Pin
PIEBALDconsult5-Aug-09 17:05
mvePIEBALDconsult5-Aug-09 17:05 
AnswerRe: (NULL == p) vs (p == NULL) Pin
PIEBALDconsult5-Aug-09 17:10
mvePIEBALDconsult5-Aug-09 17:10 
That's a pattern that is generally held to be rubbish nowadays.

It only works when comparing an lvalue with an rvalue, and if you can remember to do it then you can remember to use the intended operator.
AnswerRe: (NULL == p) vs (p == NULL) Pin
Chuck O'Toole5-Aug-09 21:37
Chuck O'Toole5-Aug-09 21:37 
AnswerRe: (NULL == p) vs (p == NULL) Pin
Adam Roderick J5-Aug-09 21:54
Adam Roderick J5-Aug-09 21:54 
Questionusing the mouse programmatically Pin
Orchus5-Aug-09 10:08
Orchus5-Aug-09 10:08 
AnswerRe: using the mouse programmatically Pin
Luc Pattyn5-Aug-09 10:30
sitebuilderLuc Pattyn5-Aug-09 10:30 
AnswerRe: using the mouse programmatically Pin
«_Superman_»5-Aug-09 16:49
professional«_Superman_»5-Aug-09 16:49 
QuestionTroubles with OpenMp basics [modified] Pin
Andre_E_S5-Aug-09 8:45
Andre_E_S5-Aug-09 8:45 
AnswerRe: Troubles with OpenMp basics [modified] Pin
Andre_E_S23-Oct-09 1:58
Andre_E_S23-Oct-09 1:58 
QuestionCause of "Failed to create empty document" Pin
Dave Goodman5-Aug-09 8:32
Dave Goodman5-Aug-09 8:32 
AnswerRe: Cause of "Failed to create empty document" Pin
Steven Strouse24-Aug-09 2:32
Steven Strouse24-Aug-09 2:32 
Question0xC0000417 exception params Pin
Chesnokov Yuriy5-Aug-09 7:29
professionalChesnokov Yuriy5-Aug-09 7:29 
Questionerror connecrting sybase using ex_connect from a vc++ dll Pin
intermediate5-Aug-09 7:14
intermediate5-Aug-09 7:14 
QuestionWriting on Document form Dialog in SDI Pin
kudlaty795-Aug-09 5:56
kudlaty795-Aug-09 5:56 
AnswerRe: Writing on Document form Dialog in SDI Pin
David Crow5-Aug-09 6:04
David Crow5-Aug-09 6:04 
GeneralRe: Writing on Document form Dialog in SDI Pin
kudlaty795-Aug-09 9:15
kudlaty795-Aug-09 9:15 
AnswerRe: Writing on Document form Dialog in SDI Pin
David Crow5-Aug-09 9:22
David Crow5-Aug-09 9:22 
GeneralRe: Writing on Document form Dialog in SDI Pin
kudlaty7929-Aug-09 3:43
kudlaty7929-Aug-09 3:43 
AnswerRe: Writing on Document form Dialog in SDI Pin
David Crow29-Aug-09 16:02
David Crow29-Aug-09 16:02 

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.