C++ 생성자와 소멸자, 연산자 오버로딩 생성자- 정의 : 생성자는 클래스의 특별한 멤버 함수로, 객체를 초기화하는 역할을 합니다.- 문법 :class ClassName { public: ClassName(parameters); }; - 예제:class Book { public: Book(const string& title, int total_page); private: string title_; int total_page_; int current_page_; double percent_; void set_percent(); }; Book::Book(const string& title, int total_page) { title_ = title; ..