Quote:
Mtrx & operator ++ ( int );
Quote:
template <typename type="">
Mtrx <type> & Mtrx <type> :: operator ++ (int)
{
Mtrx <type> last = *this;
for (int i=0; i<m_irow;> for (int j=0; j<m_icolumn;> yourmtrx[i][j]++;
return last;
}
Those are wrong: the postincrement operator should return
by value its result, change them this way
Mtrx operator ++ ( int );
template <typename type>
Mtrx <type> Mtrx <type> :: operator ++ (int)
{
Mtrx <type> last = *this;
for (int i=0; i<m_iRow;i++)
for (int j=0; j<m_iColumn;j++)
yourmtrx[i][j]++;
return last;
}