feat(topic): add content to control flow in cpp roadmap (#8480)
* added content to if-else/switch/goto under control flow & statements inside c++ roadmap * added content to if-else/switch/goto under control flow & statements inside c++ roadmap * added content to control flow in cpp roadmap fixed format error * chore: update roadmap content jsonpull/8511/head
parent
5f9dca9a1e
commit
ec0f129783
2 changed files with 27 additions and 3 deletions
@ -1 +1,9 @@ |
|||||||
# if else / switch / goto |
# If-Else / Switch / Goto |
||||||
|
|
||||||
|
C++ provides you with tools which helps you to control the way your program behaves (logic flows) based on how the user interact with your program. Here we will discuss about `if-else`, `switch` and `goto` are three common ways to guide the flow of logic in your code. |
||||||
|
|
||||||
|
Visit the following resources to learn more: |
||||||
|
|
||||||
|
- [@video@The 'if-else' Statement in C++](https://www.youtube.com/watch?v=9-BjXs1vMSc) |
||||||
|
- [@video@Learn C++ With Me - Switch Statement](https://www.youtube.com/watch?v=uOlLs1OYSSI) |
||||||
|
- [@video@Why is it illegal to use "goto"?](https://youtu.be/AKJhThyTmQw?si=gjEqAsDZVMDGVAT2) |
Loading…
Reference in new issue