Hi,
As you have it, the C/C++ version would not work either. After the while
loop, o is null and has no relation to the original list. The following
would probably do what you want
while ( o->nextNode != null )
{
o = o->nextNode;
}
o->nextNode = newNode;
Hope this helps

Signature
Chris Taylor
http://dotnetjunkies.com/weblog/chris.taylor
> Hi,
>
[quoted text clipped - 21 lines]
>
> Regards
manjub - 23 Apr 2007 03:43 GMT
Thanks a lot for your help. It seems to work.
On Apr 22, 3:06 am, "Chris Taylor" <chris_taylor...@hotmail.com>
wrote:
> Hi,
>
[quoted text clipped - 38 lines]
>
> > Regards