Re: Question about "enums"
- From: "mdh" <mdeh@xxxxxxxxxxx>
- Date: 29 Apr 2006 20:23:09 -0700
Ian Collins wrote:
oklopp us a variable of the enum type loop, so you can assign either NO
or YES to it.
It must be late or too much C :-)
I guess what I am missing is what the:
enum loop { YES,NO}
then does?
I thought that the idea behind this was to assign an integer to the
YES, NO? ( In this case 0 and 1?)
Then why not simply use the terms "YES" and "NO"?
Thanks in advance?
.
- Follow-Ups:
- Re: Question about "enums"
- From: Ian Collins
- Re: Question about "enums"
- References:
- Question about "enums"
- From: mdh
- Re: Question about "enums"
- From: Ian Collins
- Question about "enums"
- Prev by Date: Re: Boost process and C
- Next by Date: Re: Boost process and C
- Previous by thread: Re: Question about "enums"
- Next by thread: Re: Question about "enums"
- Index(es):