



Make sure your switch statements always have a default label
A safe-to-use, long-lasting switch statement should always contain a default label in order to avoid hard-to-detect bugs such as the following: //Month.h fileenum Month { Jan, Feb, Mar, //…etc. Dec};//Month.cpp