fork download
  1. #ifndef SQUARE_H_INCLUDED
  2. #define SQUARE_H_INCLUDED
  3.  
  4. #include "quadrilateral.h"
  5.  
  6. class Square:public Quadrilateral
  7. {
  8. public:
  9. Square();
  10. Square(Point &p1, Point &p2, Point &p3, Point &p4);
  11. void SetAll(Point &p1, Point &p2, Point &p3, Point &p4);
  12. double Perimeter();
  13. double Area();
  14. void Print();
  15. };
  16. #endif
  17.  
  18.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:4:27: fatal error: quadrilateral.h: No such file or directory
 #include "quadrilateral.h"
                           ^
compilation terminated.
stdout
Standard output is empty