In this episode we will learn a practical application of pointers, hooking up dialogue nodes in a dialogue tree! There's countless uses for pointers, and this is just one example of usage.
You will use pointers (or references) whenever you need to be able to easily reference a heap allocated variable. By contrast, in Java, pretty much all variables are pointers/references. Which is why you allocate most variables with new :) However, java does garbage collection for you, so you don't have to remember to call delete.
*Is it Dialog or Dialogue? Hell I don't know...
Twitter: https://twitter.com/ChillstepCoder
Seed Of Andromeda Channel: https://www.youtube.com/user/DubstepCoder
Seed Of Andromeda Website: http://www.seedofandromeda.com/