Pointers and References in C++: Getting Started with Pointers

C++ 20    |    Intermediate
  • 9 Videos | 58m 21s
  • Includes Assessment
  • Earns a Badge
As a superset of C, C++ also has support for pointer variable types that point to specific memory locations. While the pointer types function similarly, the terms related to pointer variables have evolved from C to C++ and modern C++, as you will see in this course. Begin this course by creating pointers to values and arrays. You will then move to the use of the nullptr keyword, and see how it differs from the NULL value used in C. Finally, you will create pointers to vectors and maps. After completion of this course, you'll have a solid foundation of using pointers to stack memory locations in C++ and create pointers to vectors and maps.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    outline the use of pointers in C++
    contrast NULL and nullptr
    create C-style pointers
    store strings in character arrays and pointers
  • use the nullptr keyword
    create pointers on string objects
    use pointers with vectors and maps
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 15s
    UP NEXT
  • Playable
    2. 
    Introducing C++ Pointers
    8m 8s
  • Locked
    3. 
    NULL and nullptr Differences
    4m 25s
  • Locked
    4. 
    Creating Pointers in C++
    10m 2s
  • Locked
    5. 
    Creating C-style Strings
    10m 24s
  • Locked
    6. 
    Using Null Pointers
    5m 30s
  • Locked
    7. 
    Creating Pointers on Objects
    8m 16s
  • Locked
    8. 
    Creating Pointers to Vectors and Maps
    6m
  • Locked
    9. 
    Course Summary
    3m 21s

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.