Convert your Arrayint class from, Friends and Operator Overloading, to a template Array class to support a

Question:

Convert your Arrayint class from, Friends and Operator Overloading, to a template Array class to support a dynamically allocated array of any data type that can be easily resized and has builtin bounds checking.

a. Consider what operators, if any, you will need to overload to allow generic code within each method to support any user defined types you may wish to store in the template Array type.

b. Using your template Array class, create an array of student instances. Utilize various member functions to demonstrate that various template functions operate correctly.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer: