Hello, as practice i want to write a simple program to use the enum command. However, i don't know where to define/declare the enum types? I want to use them throughout the program and i will be passing them as parameters to classes (and perhaps returning ), so the interface section will have to recognize them and even be able to assign them to an instance variable?.
If i define them the main program ,will they have scope in all objects and derived classes?
If i define them the main program ,will they have scope in all objects and derived classes?