Fundamentals of C++: Using Variables & Datatypes

C++    |    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.


  • Discover the key concepts covered in this course
    Create c++ variables
    Use 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 strings
    Perform operations with strings
    View subsets from strings, compare strings, and find text in strings
    Look up characters in a string using indexes
    Concatenate and compare strings
    Summarize the key concepts covered in this course


  • 2m 42s
  • 8m 57s
  • Locked
    3.  Exploring Numeric Data Types
    7m 3s
  • Locked
    4.  Using Integral, Character, and Floating-point Types
    10m 25s
  • Locked
    5.  Creating Boolean Variables in C++
    5m 10s
  • Locked
    6.  Performing Logical and Arithmetic Operations
    9m 47s
  • Locked
    7.  Creating C-style Strings
    5m 45s
  • Locked
    8.  Creating C++-style Strings
    9m 45s
  • Locked
    9.  Modifying Strings
    7m 56s
  • Locked
    10.  Using Member Functions with Strings
    11m 6s
  • Locked
    11.  Indexing into Strings
    7m 15s
  • Locked
    12.  Using Operators with Strings
    8m 7s
  • Locked
    13.  Course Summary
    4m 22s


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.