|
From: Ioannis V. <iv...@em...> - 2003-06-11 07:33:17
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Luigi Santillo > Sent: Tuesday, June 10, 2003 6:30 PM > To: 'Dev-Cpp-Users' > Subject: Re: [Dev-C++] Single Linked List-IV > > - using "single pointers", seems not to be correct, in that changes > made to "head" and "tail", are changes made to a copy of > the pointers > local to the function "l_push_back", thus the updated values are > not seen outside the scope of the function. Yes you are right, I did not think a lot. He has to change the pointer values so ** is needed in C, ** or reference (the last using templates) in C++. Well I say some b*llshit from time to time. :) Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net |