Guest User

Untitled

a guest
Jul 23rd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. periferiaHazi.h
  2.  
  3. #ifndef PERIFERIAHAZI_H
  4. #define PERIFERIAHAZI_H
  5. #include <iostream>
  6.  
  7. using namespace std;
  8.  
  9. class periferiaHazi
  10. {
  11. int SerialNumber;
  12.  
  13. public:
  14.  
  15. virtual void print();
  16. };
  17.  
  18. #endif
  19.  
  20.  
  21. tvKartya.h
  22.  
  23.  
  24. #ifndef TVKARTYA_H
  25. #define TVKARTYA_H
  26. #include "periferiaHazi.h"
  27.  
  28. class tvKartya:public periferiaHazi
  29. {
  30.  
  31. public:
  32. void print()
  33. {
  34. cout << "Hello world!" << endl;
  35. }
  36. };
  37.  
  38. #endif
Add Comment
Please, Sign In to add comment