I know that things must be defined before they can be used, but I get an “unknown type name error”.
This is my definition of Node :
struct Node { position* p; struct Node* next; struct Node* prev; };
This is my declaration (on line 96):
Node* hashtable[HashArraySize];
I get this error message:
P1.c:96:1: error: unknown type name 'Node' Node* hashtable[HashArraySize];
source share