I have been hearing the term lookuptables for a long time. What exactly is a lookup table, and how do you implement one in C? The only way I can think of is with if statments or using the switch block. I have looked through some of my old C books but there is no mention of lookup tables. Any info will be helpfull code would be great too.