We\'re trying to use a 2D vector because we want a 2D array that will grow dynamically.
We tried this: In the class declaration:
vector
You can access the element in [][] manner by derefrencing.
Vector> *table ; table = new vector> ( n, vector( m, 0.0)) ; cout << (*table)[i][j] ;
Most of the times, this works perfectly well.