Learning C++ Pointers
54mBeginner2017-01-12
Authors

Peggy Fisher
Programmer, Content Manager at LinkedIn Learning
Course details
Pointers are a type of variable that holds a memory address as its value. They are used to control memory allocation in resource-constrained applications. Pointers are surprisingly simple and incredibly valuable to developers who want to create smart, memory-efficient programs. Join staff instructor Peggy Fisher in these tutorials as she explores C++ pointers in depth. Learn how pointers differ from addresses and arrays, and how they are used to allocate memory both at program execution and as the program runs. Find out how to pass pointers as arguments to functions, and use the new and delete operators to assign memory dynamically. By the end of the course, you'll have a much better understanding of how to put C++ pointers to practical use in your own applications.
Learning objectives
Addresses vs. pointers
Understanding the relationship between pointers and arrays
Dereferencing pointers
Passing pointers as arguments
Using new and delete operators
Learning objectives
Addresses vs. pointers
Understanding the relationship between pointers and arrays
Dereferencing pointers
Passing pointers as arguments
Using new and delete operators
Skills covered
C++LearningProgramming LanguagesOpen SourceSoftware Development
Concepts
0. Introduction
- 01 - Welcome
- 02 - What you should know
- 03 - Exercise files
1. Pointer Basics
- 04 - Pointers defined
- 05 - Address vs. pointers
- 06 - Pointer memory
2. How to Use Pointers
- 07 - Pointers to arrays
- 08 - Character pointers
- 09 - Dereferencing pointers
- 10 - Pointing to a pointer
3. More on Pointer Uses
- 11 - Dynamic allocation
- 12 - Passing pointers as arguments
- 13 - Stack and heap
- 14 - New and delete operators
Conclusion
- 15 - Next steps