객체 (1) 썸네일형 리스트형 [C++] 객체의 생성과 사용 기본 예제 1234567891011121314151617181920212223242526272829303132333435#include using namespace std; // Point 클래스를 정의한다.class Point{public: // 멤버 변수 int x, y; // 멤버 함수 void Print() { cout 이전 1 다음