Advertisement
Guest User

Untitled

a guest
Nov 1st, 2014
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. linkedListType * Append(linkedListType * ln,linkedListType * ln2){
  2. linkedListType *temp = new linkedListType();
  3. for(int i=0;i<ln->listSize();i++)
  4. temp->insertEnd(ln->getItem(i));
  5. for(int i=0;i<ln2->listSize();i++)
  6. temp->insertEnd(ln2->getItem(i));
  7. return temp;
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement