From: Martin Ambuhl Newsgroups: comp.os.msdos.djgpp Subject: Re: Problems with pointers Date: Sun, 07 Mar 1999 20:15:33 -0500 Content-Transfer-Encoding: 7bit References: <36E2E33A DOT BEA61F86 AT the-guide DOT freeserve DOT co DOT uk> X-Posted-Path-Was: not-for-mail X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-ELN-Date: 8 Mar 1999 01:15:15 GMT X-ELN-Insert-Date: Sun Mar 7 17:25:01 1999 Organization: Nocturnal Aviation Lines: 18 Mime-Version: 1.0 NNTP-Posting-Host: 1cust218.tnt14.nyc3.da.uu.net Message-ID: <36E324B5.E51C1CB4@earthlink.net> X-Mailer: Mozilla 4.5 [en] (Win95; I) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Andy wrote: > typedef struct ==> typedef struct node > new_node->prev = last; /* attach the 'old' end element to the > HERE > previous pointer of the new end element*/ ==> new_node->prev = *last; -- Martin Ambuhl (mambuhl AT earthlink DOT net) Note: mambuhl AT tiac DOT net will soon be inactive