what the basic structure of mergin two linked lists when overloading the += operator?
thx
Maki
what the basic structure of mergin two linked lists when overloading the += operator?
thx
Maki
Just link the last item in one list to the first in the other list.
// Gliptic
http://www.geocities.com/speedway01/list.txt
I made an example and it seems to work ok.I copied the second list instead of just adding a pointer to it incase it goes out of scope.