I tried to initialize a doubly linked list wich contains dummy nodes inside another doubly linked list (also with dummy nodes). For example, a node in the list of students has many friends stored in a linked list inside that node. Here's my code:
As I tried to compile it, it gave me this: warning: assignment from incompatible pointer type. it appeared on the lines that i put a comment on. Please help. ^^
Edit: Thanks The Platypus!