C/C++ question on enumerators?

CB, john

Thanks!

So, allow me to understand a bit more...

(things + 1) would equate to an integer (kinda like an auto cast to an int as a simpler form) , but the resulting integer really isn't an animal unless manually telling it what cast you want?

i.e. ?

things = (animal) 4; // would result into a monkey ?

Seems as though C would be more flexible if you could work on values of an enum directly. But oh well.

Thank you again!

Chris
Chris