Code: typedef struct a { char *val; struct a *prev; struct a *next; } a_pt; a_pt* strt; I need a function to remove an entry of type(a_pt *) from "strt". IMPORTANT: Make no assumptions regarding the allocation of a_pt or val.
If you would have used the search feature above you would have found the following. Basic operations in Linked List Swap two nodes of a linked list Move forward a node in linked list Insert a node in a linked list Double linked list Double circular linked list Circular linked list Priority Queue implementation using Linked List Queue implementation through linked list Doubly Linked List Implementation in C# and many more ....
Never make mistake to ask for code. you may just Google for codes. you should better refer to http://www.gtk.org/tutorial/x2037.html http://www.inversereality.org/tutorials/c++/linkedlists.html http://www.daniweb.com/techtalkforums/thread12036.html Never ask these questions. Better Google it....