M
Matthew Monopole
Since in integer we can use either
a = -b
and
a = b - c
shouldn't it when we overload operator there'd be two way to overload the
minus operator?
if so, what's the prototypes?
class operator-()
and
class operator-(class)?
a = -b
and
a = b - c
shouldn't it when we overload operator there'd be two way to overload the
minus operator?
if so, what's the prototypes?
class operator-()
and
class operator-(class)?