#include <iostream> #include <vector> using namespace std; class Matrix { public: Matrix(int row, int col) { assign(row, col); } Matrix(int row, int col, int num) { assign(row, col, num); } void assign(int row, int col, int num = 0) { arrays....