Looking for a Simple Doubly Linked List Implementation

xpaceeight elon8 at crocoyes.fun
Thu Oct 29 18:06:55 UTC 2020


https://forum.dlang.org/post/bpixuevxzzltiybdrbuh@forum.dlang.org

It contains the data and a pointer to the next and previous 
linked list node. This is given as follows. struct Node { int 
data; struct Node *prev; struct Node *next; }; The function 
insert() inserts the data into the beginning of the doubly linked 
list. https://jiofilocalhtml.run https://forpc.onl


More information about the Digitalmars-d-learn mailing list