스마트연산자1 [ 열혈C++ ] Chapter 11-3. 그 이외의 연산자 오버로딩 new 연산자 오버로딩에 대한 상세한 이해 delete 연산자 오버로딩에 대한 이해와 예제 #include using namespace std; class Point { private: int xpos, ypos; public: Point(int x=0, int y=0) : xpos(x), ypos(y) { } friend ostream& operator 2022. 7. 21. 이전 1 다음