enum in c++ simple example
Example 1: enum c++
enum season { spring, summer, autumn, winter };
Example 2: enum c++
enum names {blah1, Blah2 , blah3};
enum season { spring, summer, autumn, winter };
enum names {blah1, Blah2 , blah3};