enumerator inside class type

closed account (o1pz6Up4)
I'm having a problem with a function telling me that my enumerator type Color is undefined, even though I have it defined inside the public section of a class. I'm not sure what the issue is?

I noticed that if I move the enumerator outside of the class, into the global area, the error goes away. However, this fix breaks parts of my driver program.

Here are two links to images of the code:

https://i.imgur.com/zcZT9nE.png
https://i.imgur.com/djHi21e.png

Last edited on
Since it's inside Circle, it's called CIrcle::Color.
closed account (o1pz6Up4)
That was it. Thank you very much!
Topic archived. No new replies allowed.