Advertisement
Guest User

Untitled

a guest
Jun 25th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. class Auto{
  6. public:
  7. Auto()
  8. {
  9. }
  10. };
  11.  
  12. class Traktor{
  13. public:
  14. Traktor()
  15. {
  16. }
  17. };
  18.  
  19. class Samochod: public Auto, public Traktor
  20. {
  21.  
  22. };
  23.  
  24. int main(int argc, char** argv) {
  25.  
  26. Auto();
  27. return 0;
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement