undefined vectors

I have a question which I hope I can make clear to understand. Is it possible to make a loop where user will make vectors and their elements, until he finishes the loop. For example, user gets asked to write down elements in to a vector, and then when he is finished, he gets asked if he wants to make another vector and put elements in it. So, since at the beginning of the program we don't know how many vectors user wants to make and when will the loop finsh because of this, we don't know how many vectors need to be defined at the beginning.
I am asking this since I want user to be able to input elements, values which I can iterate later, but I don't know how to go around this problem.
Thank you in advance!
A vector of vectors could be used to do what you want.
Topic archived. No new replies allowed.