Hi I have files called MyCode.h and MyCode.cpp
In MyCode.h I have declared
enum MyEnum {Something = 0, SomethingElse = 1}; class MyClass { MyEnum e
Scoped enums will not exist until C++0x. For the time being, your code should be
enumInstance = SomethingElse;
You can create an artificial scoped enum by putting the enum's definition inside its own namespace or struct.