Say we have following code and when break we want to break out of the inner and outer loop instead of just the inner loop and go directly to blablabla. How can we do this in C++?
for (int i = 0; i < m; i++) {
for (int j = 0; j < n; j++) {
if (some condition) {
// Do something and break...
break; // Breaks out of the inner loop
}
}
}
blablabla
...