Suppose we want to create a C++ class which will allow an array to be dynamically allocated according to user input like a vector can be. How could we do this?
Anonymous
I still see no way of doing this, but he suggested using the new and delete keywords to create a new array of user specified size.
Check out your Company Bowl for anonymous work chats.