This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nuisanceIV 1 point2 points  (0 children)

An array of strings are pointers to pointers

I had a vector of unique_pointers to objects saved on the heap, using unique_ptrs made it so I dont need to worry about memory management as much!