I've built a LinkedList with template but compiling returns undefined reference to the constructor and destructor and will not compile
From driver:
LinkedList<int> myList;
From .cpp
template <class itemType>
LinkedList<itemType>::LinkedList()
{
size = 0;
head = NULL;
}
driver.cpp:(.text+0x20): undefined reference to LinkedList<int>::LinkedList()'
driver.cpp:(.text+0x31): undefined reference to
LinkedList::~LinkedList()'