I'm sure there's got to be a way to do this. Is there some way to trick the compiler into allowing a redefinition of an enum. For example say you have:
and then you want to define the values at a later time. How would you go about doing this?
> Is there some way to trick the compiler into allowing a redefinition of an enum
No there isn't.
You can do stuff like that with the pre-processor (#define and #undef), but not with the language proper.
You probably want to use variables instead of constants/enum values/#defines if the values are going to change.