Hello
I have an assignment for linked lists using inheritance & templates
I have a list that can take objects trucks & cars
The code for the constructor
/*list.cpp*/
template <class V> linked_list<V>::linked_list(short int d,string nm)
{
head=tail=NULL;
size=0;
debug=d;
name=nm;
}
/*main.cpp*/
#include "list.h"