Answer to Question #41270 in C++ for b.neha reddy

Question #41270
Enhance the Vector<T> class below
a. Add a new public function to print out the content of each item in the items.
b. Implement a Book class that can be used to create a template of instance of Vector<Book>. It may have other member functions if needed.
c. Implement a Student class that can be used to create a template of instance of Vector<Student>. And the Student class has a data member of Vector<Book>, and a get function for this data member, e.g. Vector<Book>& GetBooks(). It may have other member functions if needed.
d. Implement a Course class that can be used to create a template of instance of Vector<Course >. It has a data member of Vector<Student>and a get function for this data member, e.g.. Vector<Student>&
GetStudents(); It may have other member functions if needed.
e. Write a main function that simulates a school model. The school has 2 courses, each course has 10 students, and each student has 5 books. So, you can create an instance of Vector<Course> to represent the school, e.g.. Vector<Course
1
Expert's answer
2014-04-10T09:45:54-0400
Dear customer,
Unfortunately, your question requires a lot of work and cannot be done for free.
Please submit it with all requirements as an assignment to our control panel and
we'll assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS