C++ Pointers and Arrays

preview_player
Показать описание
C++ Pointers and Arrays, also known as Array Pointers. In this video, you will have a more in depth understanding of how an array works. Because an array is a contigious block of memory, we can use a pointer to point to an array's starting memory address. With a pointer, we can also modify the array using pointer arithmetic, which is how indexing works in an array. Basically, the syntax array[index] is equal to *(array + index), and you can use either one for arrays and pointers to arrays.

If you need to review these topics:

C++ Playlist:

Install C++ with VS Code:

Subscribe for more coding tutorials 😄!
Рекомендации по теме
Комментарии
Автор

Thank you for these, they’ve been a big help with the class i’m taking. Would you consider coming up with + doing more small little projects incorporating everything you’ve taught thus far in each video? If it doesn’t take up too much time, ofc, but if it does or you don’t want to then no worries!
I ask because I’m finding that I understand the concepts in the moment im learning them and using them for a specific hw my prof assigns, but combining everything after the fact / coming up with my own projects to use everything has proven to be trickier.

gpciqbg