elica123

Untitled

May 3rd, 2019
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. #include<iostream>
  2. #include<stdio.h>
  3.  
  4. using namespace std;
  5.  
  6. template <class Type>
  7. struct multiskup{
  8.  
  9. int kapacitet;
  10. int broj_elemenata;
  11. char op;
  12. Type *polje;
  13.  
  14. multiskup();
  15. multiskup(char oper);
  16. multiskup(int kap, char oper);
  17.  
  18. ~multiskup();
  19.  
  20. Type max();
  21. Type min();
  22.  
  23. int count(Type element);
  24. int dodaj(Type element);
  25. multiskup<Type>* razlika(multiskup<Type> *drugi);
  26. int prebaci(multiskup<Type> *drugi, Type inicijalni);
  27.  
  28. };
Add Comment
Please, Sign In to add comment