I am using g++ on a sun OS machine and am getting a compile error when I declare this 2d array in the private member data of a class:
vector<double> c(0);
vector<vector <double> > mat(0, c);
matrix.h:43: 'vector' is used as a type, but is not defined as a type.
matrix.h:44: `vector' was not declared in this scope
matrix.h:44: syntax error before `>' token
Anyone know whats going on here?
vector<double> c(0);
vector<vector <double> > mat(0, c);
matrix.h:43: 'vector' is used as a type, but is not defined as a type.
matrix.h:44: `vector' was not declared in this scope
matrix.h:44: syntax error before `>' token
Anyone know whats going on here?