MeehoweCK

Untitled

Dec 15th, 2022
744
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.41 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. class TablicaInt
  6. {
  7.     unsigned wielkosc;
  8.     int* tablica;
  9. public:
  10.     TablicaInt();
  11.     TablicaInt(unsigned w);
  12.     void dodaj(int nowy);
  13.     void zmien_rozmiar(unsigned nowy);
  14.     void wypisz();
  15.     void usun_dane();
  16. };
  17.  
  18. TablicaInt::TablicaInt() : wielkosc(0), tablica(nullptr) {}
  19.  
  20.  
  21. int main()
  22. {
  23.     cout << "Hello world!" << endl;
  24.     return 0;
  25. }
  26.  
Advertisement
Add Comment
Please, Sign In to add comment