minus-squarecollimated_thought@programming.devtoC++@programming.dev•Why use pointers?linkfedilinkarrow-up1·1 year agoSomething else that people haven’t touched on yet is dynamic memory allocation. Whenever you create a new object you’ll need a reference to it. That reference is a pointer. linkfedilink
Something else that people haven’t touched on yet is dynamic memory allocation. Whenever you create a new object you’ll need a reference to it. That reference is a pointer.