C++ How To Break Out Of Nested Loops With The Goto Statement
Channel: The Builder
Date: 11/04/2022

The goto statement in C++ is useful as a easy exit out of nested loops. Its always better to avoid using goto statements in code except for breaking out of nested loops. CPP core guidelines state breaking out of nested for loops should always be done by jumping forwards out of the loop when finished. 

https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#es76-avoid-goto 

This video is part of the play list: "C++ Tutorial For Beginners"
https://www.youtube.com/playlist?list=PLYmIsLVSssdICEB2ZiZs0JgldDSyLTIQ8