Book(const string& title, int total_page);
Book web_book("HTML과 CSS", 350);
Book html_book(web_book);
cout << "첫 번째 책의 제목은 " << web_book.title_ << "이고, 총 페이지는 " << web_book.total_page_ << "장입니다." << endl;
cout << "두 번째 책의 제목은 " << html_book.title_ << "이고, 총 페이지는 " << html_book.total_page_ << "장입니다.";
Book::Book(const string& title, int total_page)
total_page_ = total_page;
Book::Book(const Book& origin)
total_page_ = origin.total_page_;
current_page_ = origin.current_page_;
percent_ = origin.percent_;
percent_ = (double) current_page_ / total_page_ * 100;