16 Sep 2020 by OriginalGriff
When you declare an enum, you are effectively creating a set of "names" for values within the enum - when you print the name, you get the value not the name itself. Suppose you have an enum for employees:enum Employee {CEO, Manager, Peon,...