Advertisement
Cassimus

Bee.cpp

May 14th, 2025
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #include "Bee.h"
  2. #include <iostream>
  3.  
  4. using namespace std;
  5. Bee::Bee(std::string name, std::string job = "") : mName{name}, mJob{job}
  6. {
  7. }
  8.  
  9. void Bee::DoJob()
  10. {
  11. }
  12.  
  13. void Bee::Eat()
  14. {
  15. cout << mName << " została nakarmiona" << endl;
  16. }
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement