For example if I have an Enum with two cases, does it make take more memory than a boolean? Languages: Java, C++
Coming from Java background, I find C++'s enums very lame. I wanted to know how to write Java-like enums (the ones in which the enum values are objects, and can have ...
Hi I am learning Enums in java I like to know what are the major differences of Enum in java and C++. Thanks
Possible Duplicate: Is it possible to define enumalpha?
I have some C++ code that looks like this:
enum { FOO = 0x01, BAR = 0x09; }; switch (baz) { case ...
hi in C++ we can have enum of follwoing type:
enum e_acomany { Audi=4, BMW=5, Cadillac=11, Ford=44, ...