Click here to Skip to main content
15,121,851 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralPrinting on XP or 2000 Pin
kdmc14-Jan-04 9:50
Memberkdmc14-Jan-04 9:50 
GeneralProblem using separate types linker option Pin
Dave Bryant14-Jan-04 8:15
MemberDave Bryant14-Jan-04 8:15 
GeneralRe: Problem using separate types linker option Pin
Michael Geddes14-Jan-04 13:26
MemberMichael Geddes14-Jan-04 13:26 
QuestionProgramatically interrogating a C/C++ enumeration? Pin
Gary Chapman14-Jan-04 7:33
MemberGary Chapman14-Jan-04 7:33 
AnswerRe: Programatically interrogating a C/C++ enumeration? Pin
Antti Keskinen14-Jan-04 9:16
MemberAntti Keskinen14-Jan-04 9:16 
GeneralRe: Programatically interrogating a C/C++ enumeration? Pin
Jörgen Sigvardsson14-Jan-04 9:34
MemberJörgen Sigvardsson14-Jan-04 9:34 
AnswerRe: Programatically interrogating a C/C++ enumeration? Pin
Christian Graus14-Jan-04 13:00
protectorChristian Graus14-Jan-04 13:00 
AnswerRe: Programatically interrogating a C/C++ enumeration? Pin
Michael Geddes14-Jan-04 13:18
MemberMichael Geddes14-Jan-04 13:18 
No, the standard way of doing this is something like
enum MyEnum
{
  meVal1 = 0,
  meVal2 = 1,
  meVal3 = 5,

  me__MinVal = 0,
  me__MaxVal = 5,
  me__Count = 3
};

Otherwise, enums are just slightly typed constants. They aren't a particularly solid type (like in pascal), but is does have its advantages.

//.
AnswerRe: Programatically interrogating a C/C++ enumeration? Pin
Gary R. Wheeler14-Jan-04 13:47
MemberGary R. Wheeler14-Jan-04 13:47 
GeneralOpenPrinter Pin
Member 81460314-Jan-04 6:53
MemberMember 81460314-Jan-04 6:53 
GeneralRe: OpenPrinter Pin
Duncan Edwards Jones14-Jan-04 7:25
professionalDuncan Edwards Jones14-Jan-04 7:25 
GeneralRe: OpenPrinter Pin
Member 81460314-Jan-04 7:34
MemberMember 81460314-Jan-04 7:34 
GeneralRe: OpenPrinter Pin
Member 81460314-Jan-04 8:36
MemberMember 81460314-Jan-04 8:36 
GeneralResource File Pin
Anthony988714-Jan-04 5:53
MemberAnthony988714-Jan-04 5:53 
GeneralRe: Resource File Pin
Prakash Nadar14-Jan-04 7:14
MemberPrakash Nadar14-Jan-04 7:14 
GeneralRe: Resource File Pin
David Crow14-Jan-04 7:45
MemberDavid Crow14-Jan-04 7:45 
Generalasking for help Pin
projectjak14-Jan-04 5:24
Memberprojectjak14-Jan-04 5:24 
GeneralRe: asking for help Pin
Prakash Nadar14-Jan-04 7:16
MemberPrakash Nadar14-Jan-04 7:16 
GeneralRe: asking for help Pin
David Crow14-Jan-04 7:52
MemberDavid Crow14-Jan-04 7:52 
GeneralProblem finding imported resources in MCF project Pin
Ricardo Briceno14-Jan-04 5:13
MemberRicardo Briceno14-Jan-04 5:13 
GeneralRe: Problem finding imported resources in MCF project Pin
Michael Dunn14-Jan-04 5:37
sitebuilderMichael Dunn14-Jan-04 5:37 
GeneralNon-/Volatile Registers Pin
Alexander M.,14-Jan-04 4:09
MemberAlexander M.,14-Jan-04 4:09 
GeneralRe: Non-/Volatile Registers Pin
Prakash Nadar14-Jan-04 7:19
MemberPrakash Nadar14-Jan-04 7:19 
GeneralRe: Non-/Volatile Registers Pin
Alexander M.,15-Jan-04 6:03
MemberAlexander M.,15-Jan-04 6:03 
GeneralRe: Non-/Volatile Registers Pin
Prakash Nadar15-Jan-04 17:01
MemberPrakash Nadar15-Jan-04 17: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.