Array of Linked Lists C++
So I thought I understood how to implement an array of pointers but my compiler says otherwise =(. Any help would be appreciated, I feel like I'm close but am missing something crucial. 1.) I have a struct called node declared:. struct node { int num; node *next; } 2.) I've declared a pointer to an array of pointers like so: node **arrayOfPointers; 3.) I've then dynamically created the array of pointers by doing this: arrayOfPointers = new node*[arraySize]; My understanding is at this point, arrayOfPointers is now pointing to an array of x node type, with x being = to arraySize. 4.) But when I