Advertisement
Guest User

Untitled

a guest
Dec 20th, 2014
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. template <class bucky>
  6. bucky addCrap(bucky a, bucky b){
  7. return a+b;
  8. }
  9.  
  10. int main()
  11. {
  12. int x=7, y=43, z;
  13. z=addCrap(x,y);
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement