};
Class Matrix2 : Public Matrix
{
Public:
Matrix2()
{
}
void resize()
{
//??????
}
};
// How can we write resize function for Matrix2 class; where this function need to use Protected data members of matrix1 class?
Only setters are available in Matrix 1 class but there is no getter function in Matrix1 class !