Lets say I have this below.
int arrays = 0;
cin >> arrays ;
for(int i = 0; i < arrays ; i++)
{
????? Not sure what to do here.
}
And I want to create x number of arrays the user entered with 39 elements(40). How would I create this forloop to create 4 arrays? for example it would make array1 array2 array3 array4
std::vector<std::vector<int> > vec;(also #include <vector>) check here for an example