Re: help with c++ if test

  • From: Lex <lex@xxxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Wed, 09 Feb 2011 22:01:03 +0200

09.02.2011 21:45, Littlefield, Tyler пишет:
Wow, that's sweet. so essentially you just have the pointers to the functions or points to jump to, spaced out. so you would just xlat to the number you want to compare against, then jump to that. for things like ranges, you'd just repeat the pointer, makes sense.

Actually, C switch statement is compiled to something like that too.


Lex
__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: