Click here to Skip to main content
16,004,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: why no support Pin
Brian Delahunty22-Apr-02 6:47
Brian Delahunty22-Apr-02 6:47 
GeneralRe: why no support Pin
Tim Smith22-Apr-02 6:54
Tim Smith22-Apr-02 6:54 
GeneralFormula transform Pin
ivex21-Apr-02 17:47
ivex21-Apr-02 17:47 
GeneralRe: Formula transform Pin
Rage22-Apr-02 4:56
professionalRage22-Apr-02 4:56 
GeneralRe: Formula transform Pin
ivex23-Apr-02 15:23
ivex23-Apr-02 15:23 
GeneralRe: Formula transform Pin
Rage23-Apr-02 23:00
professionalRage23-Apr-02 23:00 
Generalbackslash Pin
NicholasCougar21-Apr-02 17:35
NicholasCougar21-Apr-02 17:35 
GeneralRe: backslash Pin
Christian Graus21-Apr-02 17:39
protectorChristian Graus21-Apr-02 17:39 
A macro is a horrible construct left over from C. It basically means that where-ever MFC puts DECLARE_DYNAMIC(class_name), the code given is expanded out 'in place' by the preprocessor, with class_name replaced by whatever was passed in. To see why this is bad, consider a macro that takes a variable, x, and uses it three times in the expanded function, and what would happen if ++i was passed in as the value....

But in answer to your question, it allows the macro to be defined over multiple lines.


Christian

The tragedy of cyberspace - that so much can travel so far, and yet mean so little.

"But there isn't a whole lot out there that pisses me off more than someone leaving my code looking like they leaned on the keyboard and prayed that it would compile.
- Jamie Hale, 17/4/2002
GeneralRe: backslash Pin
Paul M Watt21-Apr-02 18:14
mentorPaul M Watt21-Apr-02 18:14 
GeneralLearning Curve... Questions :) Pin
21-Apr-02 16:33
suss21-Apr-02 16:33 
GeneralRe: Learning Curve... Questions :) Pin
Christian Graus21-Apr-02 16:57
protectorChristian Graus21-Apr-02 16:57 
GeneralRe: Learning Curve... Questions :) Pin
SilverShalkin21-Apr-02 17:23
SilverShalkin21-Apr-02 17:23 
GeneralRe: Learning Curve... Questions :) Pin
Christian Graus21-Apr-02 17:36
protectorChristian Graus21-Apr-02 17:36 
GeneralConnecting to external devices Pin
Peter Molnar21-Apr-02 14:30
Peter Molnar21-Apr-02 14:30 
GeneralRe: Connecting to external devices Pin
Peter Molnar22-Apr-02 6:57
Peter Molnar22-Apr-02 6:57 
GeneralExtracting Info from a PDF File Pin
Brian Delahunty21-Apr-02 8:09
Brian Delahunty21-Apr-02 8:09 
GeneralRe: Extracting Info from a PDF File Pin
Tom Archer21-Apr-02 9:41
Tom Archer21-Apr-02 9:41 
GeneralRe: Extracting Info from a PDF File Pin
Tim Deveaux22-Apr-02 9:49
Tim Deveaux22-Apr-02 9:49 
GeneralTree Item Position Pin
Steve L.21-Apr-02 7:47
Steve L.21-Apr-02 7:47 
GeneralRe: Tree Item Position Pin
Alwin7521-Apr-02 8:10
Alwin7521-Apr-02 8:10 
GeneralRe: Tree Item Position Pin
Steve L.21-Apr-02 8:17
Steve L.21-Apr-02 8:17 
QuestionAny fast File read/write method? Pin
21-Apr-02 7:30
suss21-Apr-02 7:30 
AnswerRe: Any fast File read/write method? Pin
Mazdak21-Apr-02 7:37
Mazdak21-Apr-02 7:37 
AnswerRe: Any fast File read/write method? Pin
Alwin7521-Apr-02 8:19
Alwin7521-Apr-02 8:19 
GeneralRe: Any fast File read/write method? Pin
Paul M Watt21-Apr-02 9:08
mentorPaul M Watt21-Apr-02 9:08 

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.