Control Structures in C++: Using Conditional Control Structures
C++
| Beginner
- 14 videos | 1h 38m 17s
- Includes Assessment
- Earns a Badge
Control structures in C++ are syntactically very similar to those in C, but with some important differences. This course will help you learn to use control structures in C++ and better understand how they differ from those in C. You will start this course by going over the control structures available in C++. You will then move on to working with vectors and iterators over vectors, which are important parts of the standard template library. Finally, you will work with switch statements and learn some tips and tricks related to working with cases based on strings. Upon completion, you'll be able to use variables in the condition of an if-block to restrict its scope, and use switch statements with hash functions and the STL map object to switch based on the values of a string.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseOutline different control structures in c++Modify the flow of a program with if-blocksOverload operators and use them in if statementsCreate vectors and check whether they are emptyIterate over vectors and search for a specific elementCreate variables in if-block signatures
-
Chain relational checks using logical operatorsCreate enums and switch statementsCreate variables in switch statements scope and switch statements on charactersCreate switch statements on stringsCreate switch statements on variables created with function callsCreate switch statements on strings through enumsSummarize the key concepts covered in this course
IN THIS COURSE
-
2m 42s
-
8m 17s
-
7m 31s
-
6m 53s
-
9m 45s
-
8m 42s
-
6m 18s
-
7m 41s
-
7m 31s
-
7m 39s
-
7m 56s
-
5m 24s
-
8m 29s
-
3m 29s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.