Help

Hi. I need help with a doubly linked list.
I want to make a list with 10 nodes and the first node to be linked with the nodes 2,3 and 4. And after i made the list i want to cross it like:
if(choose='A') cout<<"You choose to do this" and after that to continue.
"doubly linked list" means that a node in such list knows both the previous and next node in the list. Two nodes. The neighbours.

You want a node to know three other nodes. That is not a list. Perhaps a tree or a graph?


In other words, please tell more.
Topic archived. No new replies allowed.