C++ Tutorial for Beginners Ep#15 - Break, Continue, and Goto - SavvyNik
C++ Tutorial for Beginners Ep#15 we learn about Break, Continue, and Goto statements in C++. Break, Continue, and Goto can help manage loops and jump to different parts of your program. Understand where Break, Continue, and Goto are used in C++. Break is commonly used in switch case and continue to skip over a iteration in a For/While Loop. Today we'll explore Break, Continue, and Goto depth and understand how and where it is used in C++ programming.
Break, Continue, and Goto are all used in C++ but Goto isn't considered excepted practice anymore. It can cause more issues in your program than it's worth. Break and Continue are used extensively in certain cases in C++. Even though Goto isn't really used anymore it's nice to understand that it exists in case you run into it while C++ programming.
My Linux Cheat Sheet and 25 Page Checklist here:
📚 https://learn.savvynik.com
Share this free tool and support Small YouTubers
https://editbulk.com
(I made this tool to help creators)
Want more info/content?
https://savvynik.com
Useful Commands/Links:
Windows 10 Compiler Tools Setup - https://youtu.be/hCLIDph7-mU
Visual Studio Code - https://code.visualstudio.com/
Online Compilers:
https://www.onlinegdb.com/online_c++_compiler
http://cpp.sh/
https://repl.it/languages/cpp
Great List of Online C++ compilers:
https://arnemertz.github.io/online-compilers/#tldr
Windows Compiler Tools - GCC (GNU Compiler Collection) MinGW64
Linux Compiler Tools - Build-Essentials (GCC)
Name of extensions installed:
1. Code Runner
2. C/C++ Intellisense
00:00 Intro
00:11 Syntax
00:58 Continue Example
03:08 Running Example
03:48 Break Example
04:23 Continue/Break Loop Scopes
05:28 Goto Syntax
06:11 Goto Avoid Using
06:40 Goto Example
08:51 Outro
#Linux #Programming #ComputerScience