A Function Pointer Based State MachineA step-by-step tutorial on building a function pointer based state machine.