Use of enum's?

Apr 14, 2012 at 7:23pm
Can someone please explain to me the real valuable reasoning behind using enums. At face value to me they seem kind of pointless, not pointless but more or less not needed, any explanation would be much appreciated. I have read through documentation and still cannot correlate a worthy cause for using them, thanks.
Apr 14, 2012 at 7:39pm
It just makes life easier for periodic events, like weekdays, months names and so on. There are dozens of thigns in C++ that could be replaced with simpler things, but their existence just makes life easier. You can start with std containers.
Topic archived. No new replies allowed.