How to create classes with template in C++
<p>I'm trying to create a template class, but some erros has ocurred when i define the methods in the array.cpp file</p>

<p><strong>here are the source code files</strong>(i can't post more than 1 hiperlink >.&lt;):</p>

<p>main.cpp: pastebin.com/DxLFDhnc</p>

<p>array.hpp: pastebin.com/MmCAj3Ci</p>

<p>array.cpp: pastebin.com/32czzPBc</p>

<p><strong>errors</strong>:</p>

<p>main.cpp undefined reference to `Array::Array(unsigned int)'</p>

<p>main.cpp undefined reference to `Array::operator[](unsigned int)'</p>

<p>main.cpp undefined reference to `Array::operator[](unsigned int)'</p>

<p>main.cpp undefined reference to `Array::operator[](unsigned int)'</p>

<p>main.cpp undefined reference to `Array::length()'</p>

<p>main.cpp undefined reference to `Array::operator[](unsigned int)'</p>

<p>main.cpp undefined reference to `Array::~Array()'</p>

<p>main.cpp undefined reference to `Array::~Array()'</p>

<p>=== Build finished: 8 errors ===</p>
