Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - enum http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   enum

   Enumerations are int types with named constants.

       enum-specifier:
             enum identifier {enum-list}

       enum-list:
             enumerator
             enum-list , enumerator

       enumerator:
             identifier
             identifier = constant-expression

   The  identifiers in an enum-list are declared as  constants,  and  may
   appear wherever constants are required.


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson