Fundamentals of C++: Using Variables & Datatypes

C++    |    Beginner
  • 13 videos | 1h 38m 19s
  • Includes Assessment
  • Earns a Badge
Rating 4.5 of 53 users Rating 4.5 of 53 users (53)
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 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

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

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.

YOU MIGHT ALSO LIKE

Rating 3.7 of 21 users Rating 3.7 of 21 users (21)
Rating 4.5 of 6 users Rating 4.5 of 6 users (6)
Rating 4.5 of 26 users Rating 4.5 of 26 users (26)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.1 of 9 users Rating 4.1 of 9 users (9)
Rating 4.2 of 46 users Rating 4.2 of 46 users (46)
Rating 4.2 of 111 users Rating 4.2 of 111 users (111)