Click here to Skip to main content
16,016,477 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Class scope.... Pin
Ravi Bhavnani4-May-02 9:30
professionalRavi Bhavnani4-May-02 9:30 
GeneralRe: Class scope.... Pin
Maxwell Chen4-May-02 9:37
Maxwell Chen4-May-02 9:37 
GeneralRe: Setting Up Option Parameters :: C++ Pin
Maxwell Chen4-May-02 8:19
Maxwell Chen4-May-02 8:19 
GeneralRe: Setting Up Option Parameters :: C++ Pin
valikac4-May-02 8:24
valikac4-May-02 8:24 
GeneralRe: Setting Up Option Parameters :: C++ Pin
PJ Arends4-May-02 8:31
professionalPJ Arends4-May-02 8:31 
GeneralRe: Setting Up Option Parameters :: C++ Pin
valikac4-May-02 8:43
valikac4-May-02 8:43 
GeneralRe: Setting Up Option Parameters :: C++ Pin
PJ Arends4-May-02 9:12
professionalPJ Arends4-May-02 9:12 
GeneralRe: Setting Up Option Parameters :: C++ Pin
Maxwell Chen4-May-02 9:28
Maxwell Chen4-May-02 9:28 
I wrote something wrong, so I deleted it.

#define preprocessor directive affetcs everywhere after the compiler "sees" it.

Enum is something like you are creating some integral type. Those members of a certain enum type, you may take them as integral number, like int, short.
The compiler optimizes the size, if all members in a enum type are less than maximum value of short, then they are short. Else they are taken as int or long... If beyond maximum of (unsigned) int or long, you get a error compiling msg!

Bjarne recommends C++ programmers less using MACROs.


Maxwell Chen
People say "No news is good news". Then, no code is good code!?
GeneralRe: Thanks Pin
valikac4-May-02 9:30
valikac4-May-02 9:30 
GeneralRe: Thanks Pin
Todd Smith6-May-02 12:49
Todd Smith6-May-02 12:49 
GeneralRe: Hex Pin
valikac4-May-02 9:54
valikac4-May-02 9:54 
GeneralRe: Hex Pin
Maxwell Chen4-May-02 10:04
Maxwell Chen4-May-02 10:04 
GeneralRe: Hex Pin
valikac4-May-02 10:13
valikac4-May-02 10:13 
GeneralRe: Hex Pin
Maxwell Chen4-May-02 10:20
Maxwell Chen4-May-02 10:20 
GeneralRe: Hex Pin
valikac4-May-02 11:50
valikac4-May-02 11:50 
GeneralRe: Hex Pin
PJ Arends9-May-02 20:36
professionalPJ Arends9-May-02 20:36 
GeneralRe: Hex Pin
valikac10-May-02 4:37
valikac10-May-02 4:37 
GeneralRe: Hex Pin
Michael Dunn4-May-02 10:07
sitebuilderMichael Dunn4-May-02 10:07 
GeneralRe: Hex Pin
valikac4-May-02 10:10
valikac4-May-02 10:10 
GeneralAdding something to the system menu in the title bar Pin
Stan the man4-May-02 7:11
Stan the man4-May-02 7:11 
GeneralRe: Adding something to the system menu in the title bar Pin
Ravi Bhavnani4-May-02 7:30
professionalRavi Bhavnani4-May-02 7:30 
GeneralRe: Adding something to the system menu in the title bar Pin
Paul M Watt4-May-02 7:31
mentorPaul M Watt4-May-02 7:31 
GeneralRe: Adding something to the system menu in the title bar Pin
Stan the man4-May-02 10:49
Stan the man4-May-02 10:49 
Questionhow can I print text onto an existing pdf file? Pin
DanYELL4-May-02 7:06
DanYELL4-May-02 7:06 
AnswerRe: how can I print text onto an existing pdf file? Pin
Ravi Bhavnani4-May-02 7:32
professionalRavi Bhavnani4-May-02 7:32 

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.