- Course
Working with Pointers and Arrays in C++ 20
Managing memory with pointers on a low level is one of the key building blocks of modern C++. This course will teach you how to use pointers and how they relate to arrays and dynamic memory management.
- Course
Working with Pointers and Arrays in C++ 20
Managing memory with pointers on a low level is one of the key building blocks of modern C++. This course will teach you how to use pointers and how they relate to arrays and dynamic memory management.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
What you'll learn
C++ offers us high-level abstractions as a modern OOP language, but it also allows us to dig into the low-level memory management if needed. In this course, Working with Pointers and Arrays in C++ 20, you’ll learn to use pointers to indirectly access data from memory. First, you’ll explore what pointers are and how referencing works. Next, you’ll discover how this knowledge can be used for dynamic memory allocation and how pointers and arrays are related. Finally, you’ll learn how to use these skills to implement them in the modern C++ OOP environment. When you’re finished with this course, you’ll have the skills and knowledge of using indirection needed to work with pointers and arrays in C++20.
Working with Pointers and Arrays in C++ 20
-
Course Introduction and Prerequisites | 3m 52s
-
Referencing Variables from Memory | 3m 10s
-
Using Pointers to Store Memory Addresses | 7m 3s
-
Dereferencing Pointers | 4m 28s
-
Introducing Scope and RAII | 6m 4s
-
Passing Arguments by Reference | 7m 42s
-
Using References Instead of Pointers | 5m 25s
-
Const with Pointers and References | 4m 5s
-
Summary | 3m 23s