Linked List manipulation, issues retrieving data c++
- by floatfil
I'm trying to implement some functions to manipulate a linked list. The implementation is a template typename T and the class is 'List' which includes a 'head' pointer and also a struct:
struct Node { // the node in a linked list
T* data; // pointer to actual data, operations in T
Node* next; // pointer…