Add an array to 2d vector

Jun 3, 2012 at 3:11pm
I have a declaration of a 2d vector:

vector<vector<int> > data

I want to add several times in an server-client problem an array of 25 elements. I donnot know how many times i must add that array(which changes its values). How can i add that element to the vector without declarating the initial size of the vector??

double inputs[23] ={.....};


Any idea about this???Thanks in advanced!
Jun 3, 2012 at 4:43pm
Anyone??
Topic archived. No new replies allowed.