Навыки, которые вы получите:
C
Software development
List
Arrays
Struggling with the concept of pointers in C programming? You’re not alone. While pointers can be defined simply as variables that hold a memory location, even experienced coders are often intimidated by this powerful part of the C language. In this advanced course, instructor Dan Gookin shines a spotlight on pointers, starting with the basics and then building upon that foundation. Dan covers the essentials of obtaining, storing, and using addresses; memory allocation and buffers; and linked lists. He then digs into some more advanced concepts, including how to send a pointer to a function, sort pointers, and use pointers to manage memory.
The Program
Introduction
- Understanding pointers.
- Exploring pointer tools.
- Using pointers as function arguments.
- Working with function pointers.
Memory Allocation and Buffers
- Comparing arrays and pointers.
- Allocating storage.
- Exploring allocation functions.
- Accessing the buffer.
- Working with pointers in structures.
- Creating structure pointers.
- Saving pointers and buffers.
Linked Lists
- Understanding a linked list.
- Implementing a linked list.
- Removing structures.
- Adding structures.
- Creating a double-linked list.
- Saving a linked list.
Advanced and Crazy Pointers
- Understanding pointers to pointers.
- Sending a pointer to a function.
- Sorting pointers.
- Managing memory.
- Creating pointers to functions.