what are enums c++ code example
Example 1: enum c++
enum Colors
{
BLACK,
GREEN,
BLUE,
RED
};
Example 2: enum c++
enum names {blah1, Blah2 , blah3};
enum Colors
{
BLACK,
GREEN,
BLUE,
RED
};
enum names {blah1, Blah2 , blah3};