Advertisement
Guest User

Untitled

a guest
Nov 20th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. #ifndef LISTA_HPP_INCLUDED
  2. #define LISTA_HPP_INCLUDED
  3.  
  4. namespace struktury {
  5. class lista {
  6. class wezel;
  7. wezel pocz = nullptr;
  8. public:
  9. //lista()
  10. lista (const lista &lis);
  11. lista& operator= (const lista &lis);
  12. virtual ~lista();
  13. public:
  14. void wstaw(int p, double x);
  15. double usun(int p);
  16. int szukaj(double x);
  17. double& operator[] (int p);
  18. double operator[] (int p) const;
  19. int ile() const;
  20. bool pusta() const;
  21.  
  22.  
  23. };
  24. }
  25.  
  26.  
  27.  
  28.  
  29.  
  30. #endif // LISTA_HPP_INCLUDED
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement