Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include <iostream>
- #include <string>
- using namespace std;
- class HotelRoom
- {
- protected:
- int cost; // цена
- string status; // статус
- string description; // описание
- virtual void ShowCost() = 0;
- virtual void ShowDescription() = 0;
- };
- #pragma once
- #include "HotelRoom.h"
- class Econom :
- protected HotelRoom
- {
- public:
- int cost; // цена
- string status; // статус
- string description; // описание
- //Econom();
- //~Econom();
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement