Overloading an operator to return areas

前端 未结 0 1104
半阙折子戏
半阙折子戏 2020-11-21 13:28

I\'m trying to overload 2 operators. I want to overload the \'*\' operator to return the area of two intersected rectangles. Then, I\'m trying to overload the \'+\' operator

相关标签:
回答
  • 消灭零回复
提交回复
热议问题