>>58An auto-resizing dynamic array is basically a vector already, it's just useful to have the resizing process streamlined rather than have to manually call realloc every time you do something. And a vector is already easily capable of functioning as a stack, its size (number of elements) multiplied by the size in bytes of each element, gives you an offset from the base of the vector's data block that can be easily used similarly to a stack pointer.