Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. class Rechteck
  4. {
  5.  
  6. public :
  7.  
  8. Rechteck( float xxol, float yyol, float xxor, foat yyul);
  9.  
  10. void print_rechteck();
  11. float flaeche();
  12. float umfang();
  13.  
  14. friend void punktlage( class Rechteck rr, class Punkt pp);
  15.  
  16. private:
  17. float xol, yol, xor, yul;
  18. };
  19.  
  20. class Punkt
  21. {
  22. public :
  23.  
  24. void read_punkt();
  25. void print:punkt();
  26. friend void punktlage(Rechteck rr, Punkt pp);
  27. private:
  28. float x,y;
  29. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement