Enum is basic blue man, it's a concept you should know very well if you've
ever programmed. Enum allows you to define your own enumerated types. So you
can have weekdays = (monday, tuesday, wed... etc) where monday would be 0,
tuesday would be 1, and so on... this makes your code easier to read when
you intend to use integers to represent options. ie: instead of if(option ==
3) you'd have if(option == thursday).
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.