Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template<class itemType>
- void unsortedType<itemType>::printList()
- {
- nodeType<itemType>* tempPtr;
- tempPtr=listData;
- while(tempPtr!=NULL)
- {
- cout << tempPtr->info << " ";
- tempPtr=tempPtr->next;
- }
- delete tempPtr;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement