Click here to Skip to main content
15,893,722 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Where can I learn DevStudio? Pin
l a u r e n14-Jan-04 10:01
l a u r e n14-Jan-04 10:01 
GeneralRe: Where can I learn DevStudio? Pin
BrockVnm14-Jan-04 10:12
BrockVnm14-Jan-04 10:12 
GeneralRe: Where can I learn DevStudio? Pin
l a u r e n14-Jan-04 10:14
l a u r e n14-Jan-04 10:14 
GeneralPrinting on XP or 2000 Pin
kdmc14-Jan-04 8:50
kdmc14-Jan-04 8:50 
GeneralProblem using separate types linker option Pin
Dave Bryant14-Jan-04 7:15
Dave Bryant14-Jan-04 7:15 
GeneralRe: Problem using separate types linker option Pin
Michael Geddes14-Jan-04 12:26
Michael Geddes14-Jan-04 12:26 
QuestionProgramatically interrogating a C/C++ enumeration? Pin
Gary Chapman14-Jan-04 6:33
Gary Chapman14-Jan-04 6:33 
AnswerRe: Programatically interrogating a C/C++ enumeration? Pin
Antti Keskinen14-Jan-04 8:16
Antti Keskinen14-Jan-04 8:16 
I don't think there is.

Afterall, what you are doing is defining a new enumeration type, which grants a value to certain types of selections. So a MyEnum type can only contain three possible values.

But as you require the definition of the enumeration type in order to use it anyhow, then how come you can't check the definition itself which of the values is the highest or lowest ?

Naturally, you could check the size of the enumeration structure, but I believe it would return a value of no significant meaning. I have never tested.

-Antti Keskinen


----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralRe: Programatically interrogating a C/C++ enumeration? Pin
Jörgen Sigvardsson14-Jan-04 8:34
Jörgen Sigvardsson14-Jan-04 8:34 
AnswerRe: Programatically interrogating a C/C++ enumeration? Pin
Christian Graus14-Jan-04 12:00
protectorChristian Graus14-Jan-04 12:00 
AnswerRe: Programatically interrogating a C/C++ enumeration? Pin
Michael Geddes14-Jan-04 12:18
Michael Geddes14-Jan-04 12:18 
AnswerRe: Programatically interrogating a C/C++ enumeration? Pin
Gary R. Wheeler14-Jan-04 12:47
Gary R. Wheeler14-Jan-04 12:47 
GeneralOpenPrinter Pin
Member 81460314-Jan-04 5:53
Member 81460314-Jan-04 5:53 
GeneralRe: OpenPrinter Pin
Duncan Edwards Jones14-Jan-04 6:25
professionalDuncan Edwards Jones14-Jan-04 6:25 
GeneralRe: OpenPrinter Pin
Member 81460314-Jan-04 6:34
Member 81460314-Jan-04 6:34 
GeneralRe: OpenPrinter Pin
Member 81460314-Jan-04 7:36
Member 81460314-Jan-04 7:36 
GeneralResource File Pin
Anthony988714-Jan-04 4:53
Anthony988714-Jan-04 4:53 
GeneralRe: Resource File Pin
Prakash Nadar14-Jan-04 6:14
Prakash Nadar14-Jan-04 6:14 
GeneralRe: Resource File Pin
David Crow14-Jan-04 6:45
David Crow14-Jan-04 6:45 
Generalasking for help Pin
projectjak14-Jan-04 4:24
projectjak14-Jan-04 4:24 
GeneralRe: asking for help Pin
Prakash Nadar14-Jan-04 6:16
Prakash Nadar14-Jan-04 6:16 
GeneralRe: asking for help Pin
David Crow14-Jan-04 6:52
David Crow14-Jan-04 6:52 
GeneralProblem finding imported resources in MCF project Pin
Ricardo Briceno14-Jan-04 4:13
Ricardo Briceno14-Jan-04 4:13 
GeneralRe: Problem finding imported resources in MCF project Pin
Michael Dunn14-Jan-04 4:37
sitebuilderMichael Dunn14-Jan-04 4:37 
GeneralNon-/Volatile Registers Pin
Alexander M.,14-Jan-04 3:09
Alexander M.,14-Jan-04 3:09 

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.