Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- class TablicaInt
- {
- private:
- unsigned rozmiar;
- int* dane;
- public:
- TablicaInt(); // pusty konstruktor, tworzący pustą tablicę
- explicit TablicaInt(unsigned); // konstruktor tworzący tablicę wypełnioną zerami o podanym rozmiarze
- TablicaInt(unsigned, int); // konstuktor tworzący tablicę o podanym rozmiarze, wypełnioną na każdym polu tą samą, podaną liczbą
- };
- int main()
- {
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment