Advertisement
Guest User

Untitled

a guest
Mar 26th, 2020
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.61 KB | None | 0 0
  1. #prama once
  2. #include <iostream>
  3. #include <cstdlib>
  4.  
  5. class Pojazdy
  6. {
  7. public:
  8.     std::string typ;
  9.     std::string marka;
  10.     std::string model;
  11.     std::string z_dod;
  12.     int ilosc;
  13.     int cena;
  14.  
  15.     void dodaj();
  16.     void d_pojazd(Pojazdy**& pojazdy, int& size);
  17.     void wyrejestruj(Pojazdy**& pojazdy, int& size, int index);
  18.     void print(Pojazdy** pojazdy, int size);
  19.     void Petla(Pojazdy**& p, int& size);
  20.  
  21.     //void wyswietl();
  22.     int get_ilosc();
  23.     std::string get_typ();
  24.     std::string get_marka();
  25.     std::string get_model();
  26.     int get_cena();
  27.     void set_ilosc(int x);
  28.  
  29. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement