Compiler Error C2043

illegal break

A break is legal only within a do, for, while, or switch statement.