Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- class Mechanik;
- class Samochod {
- public:
- int poziomPaliwa;
- bool stanTechniczny;
- Samochod(int poziomPaliwa, bool stanTechniczny);
- int dajPoziompaliwa();
- bool dajStanTechniczny();
- friend class Mechanik;
- };
- class Kierowca {
- public:
- bool czyMogeJechac();
- };
- class Mechanik {
- public:
- void napraw();
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement