Array List

This is an assignment question i will appreciate any kind of help.
In C++, there is no check to determine whether the array
index is out of bounds.Design a class myArray that solves the out-of-bound array index problem and allows the user to begin the array index starting at any integer, positive or negative. Every object of type myArray should be an array of type int.

Part 1 processes only int arrays. Redesign the class
myArray using class templates so that the class can be used in any
application that requires arrays to process data.

I don't understand the second part. should i just change the array from int to char or something?
Last edited on
In your assignment there is written very clear "Redesign the class
myArray using class templates"
Topic archived. No new replies allowed.