however, without a
break the execution simply continues checking against the next labels and so on, which is what you want to avoid in this case.
- Lesson 6. Controlling Program Flow
- from Sams Teach Yourself C++ in One Hour a Day, Seventh Edition
- Publisher: Sams
- Released: May 2012
This is incorrect - without a break, the next block is unconditionally executed.
Share this highlighthttp://www.safaribooksonline.com/a/sams-teach-yourself/8452177/