[C++] 연산자 오버로딩 12345678910111213141516171819202122232425262728293031323334#include using namespace std; class Point{private: int xpos, ypos;public: Point(int x = 0, int y = 0) : xpos(x), ypos(y) { } void ShowPosition() const { cout 개발/C, C++ 2019.01.03