SHARE
TWEET

Untitled

a guest Dec 16th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. template<class itemType>
  2. void unsortedType<itemType>::printList()
  3. {
  4.     nodeType<itemType>* tempPtr;
  5.     tempPtr=listData;
  6.  
  7.     while(tempPtr!=NULL)
  8.     {
  9.         cout << tempPtr->info << " ";
  10.         tempPtr=tempPtr->next;
  11.     }
  12.     delete tempPtr;
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top