Re: Question about "enums"
- From: Ian Collins <ian-news@xxxxxxxxxxx>
- Date: Sun, 30 Apr 2006 19:01:46 +1200
venkatesh wrote:
u can make use of okloop whereever u want "1"What are you replying to? Please quote the context.
if if is not that please correct me
Assuming you are refereing to:
enum loop { NO, YES};
enum loop okloop=YES;
You would use loop whenever you wanted YES. Use an enum for what it is,
if you wanted a synonym for 1, use a const (unsigned) int.
--
Ian Collins.
.
- Follow-Ups:
- Re: Question about "enums"
- From: Harald van Dijk
- Re: Question about "enums"
- References:
- Question about "enums"
- From: mdh
- Re: Question about "enums"
- From: venkatesh
- Question about "enums"
- Prev by Date: Re: Trying to read hardware memory from pointer?
- Next by Date: Re: First program in C - what is going on with function returns?
- Previous by thread: Re: Question about "enums"
- Next by thread: Re: Question about "enums"
- Index(es):