Answered step by step
Verified Expert Solution
Question
1 Approved Answer
HELP PLEASE! I need question 4.1 and 4.3. I provided the helper function at the bottom. Thumbs up will be given. THANKS! Q4: Application of
HELP PLEASE! I need question 4.1 and 4.3. I provided the helper function at the bottom. Thumbs up will be given. THANKS!
Q4: Application of the overloading operator-(30 points) 4.1 Write a function void booksAfter2810 (Container *database) that parses through the books database and makes a new linked list that contains the books that have publication year of 2010 or later. You will use the operator-overloading function to copy the data members of objects of original linked list to objects of this new list. Then display the book names in the new list (20] 4.2 Make a new option 'n' in the menu to display newly published books (2010 or later). [5] 41 Page CSE220 Programming for Computer Engineering Project 07 4.3 In helper), make a if-else case for 'n' option that calls booksAfter2010 (Container *database) to display newly published books Name: Intro to Java 5 books available in Noble library Published in e8/2005 lame: Comp Arch books available in Noble library Published in jan2812 Book name: Comp Arch 3 books available in Hayden library Published in 85/2015 lame: Algorithm Design e books available in Published in 04/2009 Nob le library lame: Digital Design 13 books available in Noble 1ibrary Published in Oct2010 Please select one option a: Add a new book to the database Remove a book from the database Change the available number of books t: Display total number of books of a book n: Display new books (published 2010 or later) :Display all books in the database s: Sort the list of books in the database e: Exit and save the database in DB.txt Books published in or after 2010: Book name: Digital Design Book name: Comp Arch Book name: Comp Arch Q4: Application of the overloading operator-(30 points) 4.1 Write a function void booksAfter2810 (Container *database) that parses through the books database and makes a new linked list that contains the books that have publication year of 2010 or later. You will use the operator-overloading function to copy the data members of objects of original linked list to objects of this new list. Then display the book names in the new list (20] 4.2 Make a new option 'n' in the menu to display newly published books (2010 or later). [5] 41 Page CSE220 Programming for Computer Engineering Project 07 4.3 In helper), make a if-else case for 'n' option that calls booksAfter2010 (Container *database) to display newly published books Name: Intro to Java 5 books available in Noble library Published in e8/2005 lame: Comp Arch books available in Noble library Published in jan2812 Book name: Comp Arch 3 books available in Hayden library Published in 85/2015 lame: Algorithm Design e books available in Published in 04/2009 Nob le library lame: Digital Design 13 books available in Noble 1ibrary Published in Oct2010 Please select one option a: Add a new book to the database Remove a book from the database Change the available number of books t: Display total number of books of a book n: Display new books (published 2010 or later) :Display all books in the database s: Sort the list of books in the database e: Exit and save the database in DB.txt Books published in or after 2010: Book name: Digital Design Book name: Comp Arch Book name: Comp ArchStep 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