What is the difference between a static array and a dynamic array in C++?
I have to do an assignment for my class and it says not to use static arrays, only dynamic
I think in this context it means it is static in the sense that the size is fixed. Use std::vector. It has a resize() function.