well lets work on your example...enum does allow ranges...so if you haveOriginally Posted by jlou
Code:enum colors { red = 1, blue = 10 }; colors myColor = static_cast<colors>(5); //perfectly legal!
well lets work on your example...enum does allow ranges...so if you haveOriginally Posted by jlou
Code:enum colors { red = 1, blue = 10 }; colors myColor = static_cast<colors>(5); //perfectly legal!
nextus, the samurai warrior