Node.cpp code :
#include "Node.h"
using namespace std;
template <typename t> 
Node :: Node(t nodeDate){
data = nodeData;
}
Node.h code :
#ifndef NODE_H
#define NODE_H
using namespace std;
template <typename t>
class Node{
public:
    Node(t nodeData);
    
private:
    Node *nextNode;
    type data;
friend class LinkedList;
    
};
#endif
Node :: Node(t nodeDate) in the cpp class is giving a "name followed by '::' must be a class or namespace name" and I'm not sure why since I have the include statement
 
    