New programmer here. My .cpp file for the LinkedList class doesn't recognize its .h class. It gives me the error "'LinkedList' is not a class, namespace, or enumeration". Relevant code reproduced below. Any help would be appreciated.
.cpp here:
#include "LinkedList.h"
LinkedList::LinkedList(void) {
next = 0;
headAddress = 0;
}
and .h:
#pragma once
#include "LinkedListInterface.h"
template<typename T>
class LinkedList : public LinkedListInterface
{
public:
T next*;
T headAddress*;
LinkedList(void) {};
virtual ~LinkedList(void) {};
}