How would I then use te size() function to return the size of the rows and columns to use in the for loop below, so that I don't have to manually specify the sizes?
1 2 3 4 5 6 7
for (int i = 0; i < ...... ; i++ )
{
for (int j = 0; j < ...... ; j++ )
cout << setw( 7 ) << data[ i ][ j ];
cout << endl;
}