Re: switch statement - ANSI-C
- From: "user923005" <dcorbit@xxxxxxxxx>
- Date: 28 Dec 2006 13:36:05 -0800
Randy Howard wrote:
[snip]
I think your opinion on my advice is wrong. :-)
Keep in mind, the OP in question here was originally asking about how
to do a switch on string arguments. Someone that unfamiliar with the
basics of the language at this point is much better off getting
something working, then determining if it is in fact a bottleneck, or a
don't care to overall performance than trying to dive off into
something completely new to them when they have so much other ground to
cover at the same time.
I still think using a well documented library would be easier (even for
a beginner) than coding and debugging 100 if/else-if statements.
But I guess the whole thing is a tempest in a teapot and performance
won't matter either.
.
- References:
- switch statement - ANSI-C
- From: aaron80v
- Re: switch statement - ANSI-C
- From: David T. Ashley
- Re: switch statement - ANSI-C
- From: CBFalconer
- Re: switch statement - ANSI-C
- From: aaron80v
- Re: switch statement - ANSI-C
- From: Randy Howard
- Re: switch statement - ANSI-C
- From: user923005
- Re: switch statement - ANSI-C
- From: Randy Howard
- switch statement - ANSI-C
- Prev by Date: Re: A malloc question
- Next by Date: Re: A malloc question
- Previous by thread: Re: switch statement - ANSI-C
- Next by thread: Re: switch statement - ANSI-C
- Index(es):
Relevant Pages
|