|
|
|
|
Cube Code wrote: |
---|
the same as this... |
Cube Code wrote: |
---|
and is it possible to give the user the option of inputting any particular color and then taking the integer of that object and utilizing that in some other task |
enum
's rather than a class as it will assign it a numerical value automatically and you can use it as a integer.enum Value { black, brown, red, ... };
|
|