Double Linked list removal

vvshah's Avatar
Newbie Member
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.

Last edited by shabbir; 29Mar2007 at 08:12.. Reason: Code formatting
0
vvshah's Avatar
Newbie Member
I want it in C language.
0
DaWei's Avatar, Join Date: Dec 2006
Team Leader
I need 40,000. I want it in USD. Make no assumptions about exchange rate.
0
0
wrecker's Avatar, Join Date: Mar 2007
Go4Expert Member
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/tutori...nkedlists.html
http://www.daniweb.com/techtalkforums/thread12036.html

Never ask these questions. Better Google it....
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Quote:
Originally Posted by wrecker
Never ask these questions. Better Google it....
You probably don't need to do that as well as its there right at the top of every page.