Advertisement
anonymous_infoholic

List.cpp

Apr 18th, 2012
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1. #include <iostream>
  2. #include "List.h"
  3.  
  4. template<typename T>
  5. void List::Add(const T& el)
  6. {
  7.     Node* head = new Node(el);
  8.     if ( Compare(el,i) > i )
  9.         std::cout << "Ok" << std::endl;
  10.  
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement