I was looking for help in a linked list problem I am having in C++. I wanted to create a linked list that contains a node that references a dataObject and also references another linked list. This allows for a a linked list that can extend infinitely at every node. Does anyone
have any sugestions or source code that pertains to this- or even another datastucture that can serve the same purpose.
My problem with coding it is, that my linked list includes a node which includes a dataobject and another linkedlist(itself). This gives me an error. There must be a way around this.