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

C / C++ / MFC

 
AnswerRe: CAVI "bitmap" colors - reserved value question Pin
Mark Salsbery27-Aug-08 8:05
Mark Salsbery27-Aug-08 8:05 
GeneralRe: CAVI "bitmap" colors - reserved value question Pin
Vaclav_27-Aug-08 8:22
Vaclav_27-Aug-08 8:22 
GeneralRe: CAVI "bitmap" colors - reserved value question Pin
Mark Salsbery27-Aug-08 8:49
Mark Salsbery27-Aug-08 8:49 
GeneralRe: CAVI "bitmap" colors - reserved value question Pin
Vaclav_28-Aug-08 11:45
Vaclav_28-Aug-08 11:45 
QuestionRe: CAVI "bitmap" colors - reserved value question Pin
Mark Salsbery29-Aug-08 5:24
Mark Salsbery29-Aug-08 5:24 
Questioncopy/past column from excel file to an other one Pin
zdoucha27-Aug-08 7:43
zdoucha27-Aug-08 7:43 
AnswerRe: copy/past column from excel file to an other one Pin
David Crow27-Aug-08 8:14
David Crow27-Aug-08 8:14 
QuestionPreprocessor confusion Pin
s196675m27-Aug-08 6:42
s196675m27-Aug-08 6:42 
Here is two sets of preprocessor I did not understand completely,
First one is trying to define the class if it is not already defined and
the second one is trying to define a header file if it is not already defined.

But my quesion is what is the syntax or rules for the identifier.
Why there is a underscore before the word Class and H (in second example).
The way I understand is _Class means for Class and _H means for Header.
In header case, it is all upper case. Why it that.
I understand #define, #ifndef but I am not clear about the systax for identifier.

If any body can answer my confusion or direct me to any article I will be glad.

////////////////////////////
#ifndef TEggCodeParser_Class
#define TEggCodeParser_Class
////////////////////////////


////////////////////////////
#if !defined( EXAMPLE_H )
#define EXAMPLE_H
//////////////////////////




Thank you.
AnswerRe: Preprocessor confusion Pin
Mark Salsbery27-Aug-08 7:08
Mark Salsbery27-Aug-08 7:08 
AnswerRe: Preprocessor confusion Pin
Cedric Moonen27-Aug-08 7:40
Cedric Moonen27-Aug-08 7:40 
QuestionSO_RCVTIMEO not working for nonblocking win32 socket Pin
onlyjaypatel27-Aug-08 3:11
onlyjaypatel27-Aug-08 3:11 
AnswerRe: SO_RCVTIMEO not working for nonblocking win32 socket Pin
SandipG 27-Aug-08 3:32
SandipG 27-Aug-08 3:32 
QuestionInhertance Diamond problem Pin
laksh220427-Aug-08 2:41
laksh220427-Aug-08 2:41 
AnswerRe: Inhertance Diamond problem [modified] Pin
Nibu babu thomas27-Aug-08 2:48
Nibu babu thomas27-Aug-08 2:48 
GeneralRe: Inhertance Diamond problem Pin
laksh220427-Aug-08 3:28
laksh220427-Aug-08 3:28 
GeneralRe: Inhertance Diamond problem Pin
Nibu babu thomas27-Aug-08 3:36
Nibu babu thomas27-Aug-08 3:36 
AnswerRe: Inhertance Diamond problem Pin
_AnsHUMAN_ 27-Aug-08 2:55
_AnsHUMAN_ 27-Aug-08 2:55 
AnswerRe: Inhertance Diamond problem Pin
Sarath C27-Aug-08 4:37
Sarath C27-Aug-08 4:37 
QuestionHow to run VB Script in MFC program? Pin
santhoshv8427-Aug-08 2:34
santhoshv8427-Aug-08 2:34 
AnswerRe: How to run VB Script in MFC program? Pin
Nibu babu thomas27-Aug-08 2:37
Nibu babu thomas27-Aug-08 2:37 
QuestionAdd EditControl Pin
MsmVc27-Aug-08 2:06
MsmVc27-Aug-08 2:06 
AnswerRe: Add EditControl Pin
Cedric Moonen27-Aug-08 2:11
Cedric Moonen27-Aug-08 2:11 
GeneralRe: Add EditControl Pin
MsmVc27-Aug-08 2:19
MsmVc27-Aug-08 2:19 
GeneralRe: Add EditControl Pin
Cedric Moonen27-Aug-08 2:38
Cedric Moonen27-Aug-08 2:38 
GeneralRe: Add EditControl Pin
David Crow27-Aug-08 3:06
David Crow27-Aug-08 3:06 

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.