C++ Pointers and Arrays

Поделиться
HTML-код
  • Опубликовано: 18 мар 2024
  • 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:
    Arrays: • Arrays in C++
    Pointers: • Pointers in C++
    C++ Playlist:
    • C++ Programming Tutorial
    Install C++ with VS Code:
    • How to set up C++ in V...
    Subscribe for more coding tutorials 😄!

Комментарии • 3

  • @mfz0967
    @mfz0967 Месяц назад

    love these vids 👍

  • @user-gp3ci4qb9g
    @user-gp3ci4qb9g 3 месяца назад +1

    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.

    • @KennyYipCoding
      @KennyYipCoding  3 месяца назад

      More c++ tutorials coming 🙂! As for projects I’ll have to take a look. Currently I have rock paper scissors and tic tax toe in the playlist. I will be adding homework and practice exams later on so that it’ll feel like an actual course