Change the vector member into a pointer to instead store the…
Change the vector member into a pointer to instead store the data using a dynamic array (keep the same data member name). Add 2 int data members: (1) to store the size of the array and (2) to store the current position being used. E.g., first position 0 is used, then position 1.
Read Details