|
From: Ioannis V. <no...@ho...> - 2002-04-20 17:24:37
|
-----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Bob Wilson Sent: Wednesday, April 17, 2002 9:29 PM To: Dev-C++ User Mailing List Subject: Fw: [Dev-C++] enum Absolutely correct, but when you assign a value to an enumerated element, it practically destroys or greatly limits the ability to use the enumerated elements in a for loop or switch statement. Why you can't use them in a switch statement? In fact a switch statement is one of the common uses for enums. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net <http://www.noicys.cjb.net/> * Alternative URL: http://run.to/noicys |