Fundamentals of C++: Using Variables & Datatypes
C++ 20
| Beginner
- 13 Videos | 1h 38m 19s
- Includes Assessment
- Earns a Badge
Variables and datatypes are basic building blocks of any programming language. This is especially true for C++, which has a very complex type system. In this course, we will be reintroducing constructs from C and emphasize the differences between variables and datatypes in C++ relative to those in C. Start by considering the difference between the initialization and declaration of a variable. Explore arithmetic, relational, and logical operators and make use of the C++ boolean type. Finally, explore strings in C++ and utilize many of the powerful methods provided by the String class, which are available for use on all string objects. Upon completion, you'll be able to distinguish between variable declaration and initialization, initialize variables using functional, assignment, and braced syntax, and leverage the C++ boolean type and the std::string class.
WHAT YOU WILL LEARN
-
discover the key concepts covered in this coursecreate C++ variablesuse numeric variables in C++use data types in C++use boolean types in C++use logical and assignment operators in C++use C-style strings in C++
-
use C++-style stringsperform operations with stringsview subsets from strings, compare strings, and find text in stringslook up characters in a string using indexesconcatenate and compare stringssummarize the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview2m 42sUP NEXT
-
2.Introducing C++ Variables8m 57s
-
3.Exploring Numeric Data Types7m 3s
-
4.Using Integral, Character, and Floating-point Types10m 25s
-
5.Creating Boolean Variables in C++5m 10s
-
6.Performing Logical and Arithmetic Operations9m 47s
-
7.Creating C-style Strings5m 45s
-
8.Creating C++-style Strings9m 45s
-
9.Modifying Strings7m 56s
-
10.Using Member Functions with Strings11m 6s
-
11.Indexing into Strings7m 15s
-
12.Using Operators with Strings8m 7s
-
13.Course Summary4m 22s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform
Digital badges are yours to keep, forever.