Creating enums
#2

No, it is not required but it avoids confusion. It is customary to write constants in all upper case and the E_ prefix is used to denote that it's part of an enumerator. It is important to note that enum specifiers are not variables; in a sense, it is a structured list of definitions.
Reply


Messages In This Thread
Creating enums - by EtayJ - 13.10.2016, 14:34
Re: Creating enums - by Vince - 13.10.2016, 14:41
Re: Creating enums - by EtayJ - 13.10.2016, 14:58
Re: Creating enums - by Gotham - 13.10.2016, 15:06
Re: Creating enums - by AmigaBlizzard - 13.10.2016, 15:56
Re: Creating enums - by EtayJ - 14.10.2016, 11:37

Forum Jump:


Users browsing this thread: 1 Guest(s)