Skip to content
KnowledgeCity

C++: Flow of Control

Learn the flow of control within C++ programming
Preview the first lesson free — get full access to all 5 lessons.
Course: On-Demand
Beginner Provider Barbara Hecker  5 Lessons ·  15m  in English 

Course Description

Flow of Control

This course will go over how your code flows in a certain order. Understanding the order code travels in is an important step to manipulate the order code gets activated in. You will learn both if/else and case/switch statements, which create paths for code to follow. From there, you will learn how to integrate loops into your code, as well as understanding the difference between for loops, while loops, and do while loops.

Learning Objectives

Skills

What You'll Learn

  • Use if/else and case/switch statements to create paths for code to follow
  • Branch code out using conditional statements
  • Integrate for loops, while loops, and do while loops into your code
  • Distinguish between for loops, while loops, and do while loops
  • Understand the order in which code travels
  • Manipulate the order in which code gets activated

Key Takeaways

  • Understanding the order in which code travels is an important step to manipulating the order in which code gets activated.
  • If/else and case/switch statements create paths for code to follow.
  • Loops can be integrated into code, and the course covers for loops, while loops, and do while loops.
  • The course teaches both how to branch code out and how to use different loops.

Frequently Asked Questions

What does this C++ course cover?

The course covers how code flows in a certain order, including if/else and case/switch statements, and how to integrate for loops, while loops, and do while loops into your code.

What skills will I gain from this course?

You will learn to understand the order in which code travels and to manipulate the code's turn order, working with C++ control flow, program flow, and flow control concepts.

What loops does the course teach?

The course teaches for loops, while loops, and do while loops, including understanding the difference between them.

What topics are included in the lessons?

The lessons cover If/Else Statements, Case/Switch Statements, For Loops, While Loops, and Do While Loops.