Click here to Skip to main content
16,011,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Better way Pin
Ravi Bhavnani17-Jul-04 7:23
professionalRavi Bhavnani17-Jul-04 7:23 
GeneralDisplaying an internal variable "to the screen" via a dialogue box Pin
Tim Hsieh16-Jul-04 10:06
Tim Hsieh16-Jul-04 10:06 
GeneralRe: Displaying an internal variable "to the screen" via a dialogue box Pin
Rick York16-Jul-04 12:03
mveRick York16-Jul-04 12:03 
GeneralRiddle me this Pin
Turtle Hand16-Jul-04 9:03
Turtle Hand16-Jul-04 9:03 
GeneralRe: Riddle me this Pin
David Crow16-Jul-04 9:49
David Crow16-Jul-04 9:49 
GeneralRe: Riddle me this Pin
Antony M Kancidrowski16-Jul-04 12:57
Antony M Kancidrowski16-Jul-04 12:57 
GeneralRe: Riddle me this Pin
Turtle Hand19-Jul-04 2:08
Turtle Hand19-Jul-04 2:08 
GeneralRe: Riddle me this Pin
Antony M Kancidrowski20-Jul-04 6:18
Antony M Kancidrowski20-Jul-04 6:18 
In your example there isn't a function declaration it is a defined MACRO. When you use MACROs they are replaced with their associated code before compilation.

In your example I am not sure why MACROs have been declared as such. IMO they are un-necessary here. You could change the code to remove the macros and have appropriate functions to do the work for you.

I feel that it would be easier to maintain and understand if you made such changes. Not just for yourself, but for others that may need to maintain the code in future.

Ant.

I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return!
- David Williams (Little Britain)

QuestionHow to get server's comment with given server name? Pin
Member 6264816-Jul-04 8:33
Member 6264816-Jul-04 8:33 
AnswerRe: How to get server's comment with given server name? Pin
David Crow16-Jul-04 9:51
David Crow16-Jul-04 9:51 
GeneralGroup Controls Pin
Joel Holdsworth16-Jul-04 8:32
Joel Holdsworth16-Jul-04 8:32 
GeneralRe: Group Controls Pin
Antti Keskinen16-Jul-04 8:58
Antti Keskinen16-Jul-04 8:58 
GeneralRe: Group Controls Pin
Joel Holdsworth16-Jul-04 9:27
Joel Holdsworth16-Jul-04 9:27 
GeneralRe: Group Controls Pin
Mike Dimmick16-Jul-04 9:40
Mike Dimmick16-Jul-04 9:40 
GeneralRe: Group Controls Pin
David Crow16-Jul-04 9:52
David Crow16-Jul-04 9:52 
GeneralRe: Group Controls Pin
Joel Holdsworth16-Jul-04 9:55
Joel Holdsworth16-Jul-04 9:55 
GeneralRe: Group Controls Pin
David Crow16-Jul-04 10:01
David Crow16-Jul-04 10:01 
GeneralRe: Group Controls Pin
Joel Holdsworth16-Jul-04 10:05
Joel Holdsworth16-Jul-04 10:05 
GeneralRe: Group Controls Pin
Antti Keskinen16-Jul-04 12:46
Antti Keskinen16-Jul-04 12:46 
GeneralRe: Group Controls Pin
PJ Arends18-Jul-04 9:25
professionalPJ Arends18-Jul-04 9:25 
GeneralIntercepting Alt+F4 Pin
Joel Holdsworth16-Jul-04 8:31
Joel Holdsworth16-Jul-04 8:31 
GeneralRe: Intercepting Alt+F4 Pin
Antti Keskinen16-Jul-04 8:49
Antti Keskinen16-Jul-04 8:49 
GeneralRe: Intercepting Alt+F4 Pin
Joel Holdsworth16-Jul-04 9:32
Joel Holdsworth16-Jul-04 9:32 
GeneralRe: Intercepting Alt+F4 Pin
Mike Dimmick16-Jul-04 9:46
Mike Dimmick16-Jul-04 9:46 
GeneralRe: Intercepting Alt+F4 Pin
Joel Holdsworth16-Jul-04 10:01
Joel Holdsworth16-Jul-04 10:01 

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.