S
scooter
say I have an enumeration:
enum Ecolor {eRed, eGreen, eBlue, eBrown, eNumColors};
and a variable:
Ecolor eCurrentColor = eGreen;
How can I increment or decrement eCurrentColor?
(since I can't just do eCurrentColor++)
thanks
enum Ecolor {eRed, eGreen, eBlue, eBrown, eNumColors};
and a variable:
Ecolor eCurrentColor = eGreen;
How can I increment or decrement eCurrentColor?
(since I can't just do eCurrentColor++)
thanks