Amplifying Bart's explanation about C switch statements, it helps to remember that C was designed to be a step above assembly language. So remember your basic assembly language coursework when you talked about jump tables? The C switch statement is just pretty syntax for a jump table.

(If you really want to bend your brain, go look up Duff's Device.)


psas-avionics mailing list

Reply via email to