Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please help me with these two functions (question Q5a and Q5b). I use Visual Studio to run the program. Please read the instructions carefully and
Please help me with these two functions (question Q5a and Q5b). I use Visual Studio to run the program. Please read the instructions carefully and explain the codes. Thanks in advance.
The diagram shows the inheritance and the way the linked list should be formed. The list members are objects of class 'Book'. 'Noble' and 'Hayden' are child classes of 'Book'. list Book *book *book *book next next next null Book name name name inheritence noOfBooks noOfBooks noOfBooks libNumber libNumber libNumber Hayden Noble Book() getName( getNoOfBooks0 getLibraryNumber) displayBookinfo) Book) getName() getNoOfBooks() getLibraryNumber() displayBookinfo() Book() getName() getNoOfBooks() getLibraryNumber0) displayBookinfo) Hayden() displayBooklnfo() Noble() displayBooklnfo) 2 | Page CSE220 Programming for Computer Engineering Project 06 Your job is to follow the instructions given in comments in these files to complete the missing parts of the project so that the program executes properly. Book.h and Book.cpp completely define class 'Book'. No addition is required in these files. The diagram shows the inheritance and the way the linked list should be formed. The list members are objects of class 'Book'. 'Noble' and 'Hayden' are child classes of 'Book'. list Book *book *book *book next next next null Book name name name inheritence noOfBooks noOfBooks noOfBooks libNumber libNumber libNumber Hayden Noble Book() getName( getNoOfBooks0 getLibraryNumber) displayBookinfo) Book) getName() getNoOfBooks() getLibraryNumber() displayBookinfo() Book() getName() getNoOfBooks() getLibraryNumber0) displayBookinfo) Hayden() displayBooklnfo() Noble() displayBooklnfo) 2 | Page CSE220 Programming for Computer Engineering Project 06 Your job is to follow the instructions given in comments in these files to complete the missing parts of the project so that the program executes properly. Book.h and Book.cpp completely define class 'Book'. No addition is required in these filesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started