Advertisement
Guest User

Untitled

a guest
Apr 29th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.41 KB | None | 0 0
  1. //
  2. // Created by Admin on 29.04.2016.
  3. //
  4.  
  5. #include "templ.h"
  6.  
  7. template <typename T>
  8. void myclass<T>::intput() {
  9.     cin >> s >> a >> b >> n;
  10. }
  11.  
  12. template <typename T>
  13. void myclass<T>::myfun() {
  14.     cout << a << b << n << s;
  15. }
  16. //////////////////////////
  17. //////////////////////////
  18. template class myclass<int>;///Вот все, что надо
  19. ///////////////////////////
  20. ///////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement