Is there a hack to support range case in a c(99?) or objective C switch statement ? I know this is not supported to write something like this:
switch(x) case
Doing this with macros is near to or impossible. Compiler extensions exist, but they are compiler specific and not cross-platform/standard. There is no standard way to do this, use if/else chains instead.