Control Flow in C++ (continue, break, return)

Опубликовано: 05 Октябрь 2024
на канале: The Cherno
194,748
7.9k

Twitter ►   / thecherno  
Instagram ►   / thecherno  
Patreon ►   / thecherno  

Loops in C++ ►    • Loops in C++ (for loops, while loops)  

Today we're talking about control flow statements in C++. Control flow statements allow us to change the "flow" of our program so that we can change what it does under certain circumstances. This is another one of those really important fundamentals that you'll want to make sure you understand really well.

Number one strategy to learn this? Start writing some code and see what these statements do! Additionally, step through the code line-by-line using the debugger if you're still confused about what actually happens.

Series Playlist ►    • C++  

BEST laptop for programming! ► http://geni.us/pakTES
My FAVOURITE keyboard for programming! ► http://geni.us/zNhB
FAVOURITE monitors for programming! ► http://geni.us/Ig6KBq

MAIN Camera ► http://geni.us/CYUQ
MAIN Lens ► http://geni.us/ZM3CmG
Microphone ► http://geni.us/wqO6g7K

Slack ► https://slack.thecherno.com
Stream ►   / thecherno  
Website ► http://www.thecherno.com
Facebook ►   / thecherno