31st Jan 2017, 10:22 AM
Prakash Agarwal
Prakash Agarwal - avatar
4 odpowiedzi
+ 3
It's enumerated type, example of it in C++ would be like this. enum class Color {Red, Green, Blue}; Using an enum allows you iterate trough a list of objects you defined.
31st Jan 2017, 10:46 AM
Alex
Alex - avatar
+ 2
Basically, Enums define variables that represent members of a fixed set.
31st Jan 2017, 11:48 AM
Ilidio Jelson Isaac Paulino
Ilidio Jelson Isaac Paulino - avatar
+ 2
An Enum is a special type used to define collections of constants.
31st Jan 2017, 11:50 AM
Ilidio Jelson Isaac Paulino
Ilidio Jelson Isaac Paulino - avatar
+ 1
enum is a constant
8th Feb 2017, 6:11 AM
Ravi