3 ms·
Fair point. IIRC, Java and C# allow "break" statements to have a label associated with them specifically for this case. C++ "break" statements are all implicit.
by dragontamer 13y ago
Fair point. IIRC, Java and C# allow "break" statements to have a label associated with them specifically for this case. C++ "break" statements are all implicit.
So a goto is the only thing that can solve this problem.