Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // Created by Admin on 29.04.2016.
- //
- #include "templ.h"
- template <typename T>
- void myclass<T>::intput() {
- cin >> s >> a >> b >> n;
- }
- template <typename T>
- void myclass<T>::myfun() {
- cout << a << b << n << s;
- }
- //////////////////////////
- //////////////////////////
- template class myclass<int>;///Вот все, что надо
- ///////////////////////////
- ///////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement