declare a vector matrix c++ code example
Example: matrix in vector c++
vector<vector <int> > matrix;
cout << "Row's Length: " << matrix.size();
cout<< "Column's Length: "<< matrix[0].size();
vector<vector <int> > matrix;
cout << "Row's Length: " << matrix.size();
cout<< "Column's Length: "<< matrix[0].size();