Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- linkedListType * Append(linkedListType * ln,linkedListType * ln2){
- linkedListType *temp = new linkedListType();
- for(int i=0;i<ln->listSize();i++)
- temp->insertEnd(ln->getItem(i));
- for(int i=0;i<ln2->listSize();i++)
- temp->insertEnd(ln2->getItem(i));
- return temp;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement