| Subject: | Re: case labels |
|---|---|
| From: | CBFalconer |
| Date: | Fri, 28 Mar 2008 11:59:10 -0500 |
| Newsgroups: | comp.lang.c |
aarklon@xxxxxxxxx wrote: > > why general integer expressions are not allowed in case labels in > switch statements..???? Because a common switch implementation is an indexed jump through a fixed table of destinations. -- [mail]: Chuck F (cbfalconer at maineline dot net) [page]: <http://cbfalconer.home.att.net> Try the download section. -- Posted via a free Usenet account from http://www.teranews.com |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Implementation-defined behaviour, Ioannis Vranos |
|---|---|
| Next by Date: | Strings and arrays, Jim |
| Previous by Thread: | Re: case labels, Chris Dollin |
| Next by Thread: | Enum type check in function call, Pritam |
| Indexes: | [Date] [Thread] [Top] [All Lists] |