C++ Classes

C++ 14    |    Beginner
  • 13 videos | 59m 9s
  • Includes Assessment
  • Earns a Badge
Rating 4.4 of 224 users Rating 4.4 of 224 users (224)
A class defines what an object is and includes the data and functions for manipulating that data. Discover how to correctly define and use classes in your C++ programs.

WHAT YOU WILL LEARN

  • Create a class in c++
    Add a private member to a class in c++
    Add a protected member to a class in c++
    Add public members to a class in c++
    Create a class constructor in c++
    Create a class deconstructor in c++
    Create a class with overloaded constructors in c++
  • Create a class with a default constructor in c++
    Create a pointer in c++
    Create a struct in c++
    Create a union class type in c++
    Create a class with overloaded operators in c++
    Create and use classes in a c++ application

IN THIS COURSE

  • 5m 33s
    To create a class in C++, use the keyword "class" followed by the name of the class. FREE ACCESS
  • 4m 4s
    In this video, learn how to add a private member to a class in C++. FREE ACCESS
  • Locked
    3.  Adding Protected Members to Classes
    4m 48s
    Learn how to add a protected member to a class in C++. FREE ACCESS
  • Locked
    4.  Adding Public Members to Classes
    4m 8s
    In this video, you will learn how to add public members to a class in C++. FREE ACCESS
  • Locked
    5.  Creating a Class Constructor
    3m 17s
    In this video, you will learn how to create a class constructor in C++. FREE ACCESS
  • Locked
    6.  Creating a Class Deconstructor
    4m 55s
    Learn how to create a class destructor in C++. FREE ACCESS
  • Locked
    7.  Working with Overloaded Constructors
    4m 4s
    To create a class with overloaded constructors in C++, you must... FREE ACCESS
  • Locked
    8.  Working with Default Constructors
    4m 47s
    Learn how to create a class with a default constructor in C++. FREE ACCESS
  • Locked
    9.  Creating Pointers to Classes
    6m 15s
    In this video, you will learn how to create a pointer in C++. FREE ACCESS
  • Locked
    10.  Creating Classes Defined with Struct
    3m 4s
    To create a struct in C++, you must first declare the struct with the keyword "struct," followed by the name of the struct. Next, you must define the struct by listing the variables that the struct will contain within curly braces. Finally, you must initialize the struct by assigning values to each of its variables. FREE ACCESS
  • Locked
    11.  Creating Classes Defined with Union
    5m 27s
    In this video, you will learn how to create a union class type in C++. FREE ACCESS
  • Locked
    12.  Overloading Operators in Classes
    4m 41s
    In this video, you will learn how to create a class with overloaded operators in C++. FREE ACCESS
  • Locked
    13.  Exercise: Work with C++ Classes
    4m 5s
    During this video, you will learn how to create and use classes in a C++ application. FREE ACCESS

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.9 of 46 users Rating 3.9 of 46 users (46)
Rating 4.9 of 15 users Rating 4.9 of 15 users (15)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.5 of 65 users Rating 4.5 of 65 users (65)
Rating 4.4 of 31 users Rating 4.4 of 31 users (31)