摘要:
class book{ char* title; int num_pages; int cur_page;public: book(const char* theTitle, int pages) :num_pages(pages) { title = new char[strlen(theTitl 阅读全文
摘要:
class shape{public: virtual float perimeter() const{ return 0; } virtual float area()const { return 0; } virtual const char* name()const { return "抽象图 阅读全文