Recently I bought Ron Penton's Data Structure's book (unfortonutally it has no cd, if anybody has a link, I appreciate .. ) and began reading the first chapter
which introduces the arrays. I try to test the aray class he was explaining in the book but my compiler keep telling me that my class template requires the argument list ? which according to my very limited knowledge, includes.
Would somebody please tell me what I was doing wrong? BTW, I am using Visual Studio 2005 and trying to compile this code as a console application.
template <class DataType>
m_array = new DataType[p_size];
m_size = p_size;
if (m_array !=0) delete m_array;
int _tmain(int argc, _TCHAR* argv)
Array <int> intArray(10);