正在加载图片...
Programming in C++ Control in Switch Statement o control branches to the statement following the case label that matches the value of IntegralExpression. Control proceeds through all remaining statements including the default, unless redirected with break o if no case label matches the value of IntegralExpression, control branches to the default label(if present)--otherwise control passes to the statement following the entire switch statement .g forgetting to use break can cause logical errors8 Control in Switch Statement ❖ control branches to the statement following the case label that matches the value of IntegralExpression. Control proceeds through all remaining statements, including the default, unless redirected with break ❖ if no case label matches the value of IntegralExpression, control branches to the default label(if present)——otherwise control passes to the statement following the entire switch statement ❖ forgetting to use break can cause logical errors
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有