If I use break or continue in the inner nesting, it will only affect the inner loop. How do I use the inner statement? It acts on the circulation of the outer layer.
flag bit
for (...) { bool breakOuter = false; for (...) { // ... breakOuter = true; break; } if (breakOuter) break; }