Double Linked list removal

Newbie Member
29Mar2007,02:59   #1
vvshah's Avatar
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
Newbie Member
29Mar2007,03:10   #2
vvshah's Avatar
I want it in C language.
Team Leader
29Mar2007,05:00   #3
DaWei's Avatar
I need 40,000. I want it in USD. Make no assumptions about exchange rate.
Go4Expert Member
3Apr2007,14:17   #5
wrecker's Avatar
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....
Go4Expert Founder
3Apr2007,14:51   #6
shabbir's Avatar
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.