I have a header file, but I don't know how to do it: I am new to templates.
template <class T>
class Array
{
public:
Array(int l, int h);
Array(int s);
Array(const Array& other);
~Array();
T& operator[](int index);
const T& operator[](int index) const;
int get_size() const
{return size;}
private:
int low;
int high;
int size;
int offset;
T *ptr;
};