Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "Waiter.h"
- #include <iostream>
- using namespace std;
- Waiter::Waiter(int id, int id_o_S)
- {
- ID = id;
- IDofServiced = id_o_S;
- cout << "Jestem kelnerem nr: " << ID << ". Aktualnie obsługuje klienta: " << IDofServiced << endl;
- };
- Waiter::~Waiter()
- {
- cout << "Byłem kelnerem nr: " << ID << " ostatnim obsługiwałem klienta: " << IDofServiced << endl;
- };
- Waiter::Set_ID(int n)
- {
- ID = n;
- };
- Waiter::Get_ID()
- {
- return ID;
- };
Advertisement
Add Comment
Please, Sign In to add comment