I'd like to define a vector that contains 5 vectors, and each of the 5 vectors should contain 5 ints. But it cannot be done by using the following statement:
vector< vector<int> > vec(5,5); // error!
What can I do to define such a vector?
Thank you in advance.