¡@

Home 

c++ Programming Glossary: numerror

Advantage of switch over if-else statement

http://stackoverflow.com/questions/97987/advantage-of-switch-over-if-else-statement

the snippet so don't hate me for the naming conventions p numError is an error enumeration type with 0 being the non error case.. is a stub method for the shared processing switch numError case ERROR_01 intentional fall through case ERROR_07 intentional.. action break versus an if statement if ERROR_01 numError ERROR_07 numError ERROR_0A numError ERROR_10 numError ERROR_15..