0_0_18909443_15139.cpp:58:2: error: no matching function for call to 'Point::Point()'
}A,B;
^
0_0_18909443_15139.cpp:58:2: note: candidates are:
0_0_18909443_15139.cpp:17:2: note: Point::Point(double, double)
Point (double xx,double yy){x=xx,y=yy;}
^
0_0_18909443_15139.cpp:17:2: note: candidate expects 2 arguments, 0 provided
0_0_18909443_15139.cpp:14:8: note: constexpr Point::Point(const Point&)
struct Point{
^
0_0_18909443_15139.cpp:14:8: note: candidate expects 1 argument, 0 provided
0_0_18909443_15139.cpp:14:8: note: constexpr Point::Point(Point&&)
0_0_18909443_15139.cpp:14:8: note: candidate expects 1 argument, 0 provided
0_0_18909443_15139.cpp:58:4: error: no matching function for call to 'Point::Point()'
}A,B;
^
0_0_18909443_15139.cpp:58:4: note: candidates are:
0_0_18909443_15139.cpp:17:2: note: Point::Point(double, double)
Point (double xx,double yy){x=xx,y=yy;}
^
0_0_18909443_15139.cpp:17:2: note: candidate expects 2 arguments, 0 provided
0_0_18909443_15139.cpp:14:8: note: constexpr Point::Point(const Point&)
struct Point{
^
0_0_18909443_15139.cpp:14:8: note: candidate expects 1 argument, 0 provided
0_0_18909443_15139.cpp:14:8: note: constexpr Point::Point(Point&&)
0_0_18909443_15139.cpp:14:8: note: candidate expects 1 argument, 0 provided
0_0_18909443_15139.cpp: In constructor 'Line::Line(Point, Point)':
0_0_18909443_15139.cpp:61:26: error: no matching function for call to 'Point::Point()'
Line (Point ss,Point ee){
^
0_0_18909443_15139.cpp:61:26: note: candidates are:
0_0_18909443_15139.cpp:17:2: note: Point::Point(double, double)
Point (double xx,double yy){x=xx,y=yy;}
^
0_0_18909443_15139.cpp:17:2: note: candidate expects 2 arguments, 0 provided
0_0_18909443_15139.cpp:14:8: note: constexpr Point::Point(const Point&)
struct Point{
^
0_0_18909443_15139.cpp:14:8: note: candidate expects 1 argument, 0 provided
0_0_18909443_15139.cpp:14:8: note: constexpr Point::Point(Point&&)
0_0_18909443_15139.cpp:14:8: note: candidate expects 1 argument, 0 provided
0_0_18909443_15139.cpp:61:26: error: no matching function for call to 'Point::Point()'
Line (Point ss,Point ee){
^
0_0_18909443_15139.cpp:61:26: note: candidates are:
0_0_18909443_15139.cpp:17:2: note: Point::Point(double, double)
Point (double xx,double yy){x=xx,y=yy;}
^
0_0_18909443_15139.cpp:17:2: note: candidate expects 2 arguments, 0 provided
0_0_18909443_15139.cpp:14:8: note: constexpr Point::Point(const Point&)
struct Point{
^
0_0_18909443_15139.cpp:14:8: note: candidate expects 1 argument, 0 provided
0_0_18909443_15139.cpp:14:8: note: constexpr Point::Point(Point&&)
0_0_18909443_15139.cpp:14:8: note: candidate expects 1 argument, 0 provided
0_0_18909443_15139.cpp: In member function 'double circle::areatriangle(Point, Point)':
0_0_18909443_15139.cpp:106:12: error: no matching function for call to 'Point::Point()'
Point q[5];
^
0_0_18909443_15139.cpp:106:12: note: candidates are:
0_0_18909443_15139.cpp:17:2: note: Point::Point(double, double)
Point (double xx,double yy){x=xx,y=yy;}
^
0_0_18909443_15139.cpp:17:2: note: candidate expects 2 arguments, 0 provided
0_0_18909443_15139.cpp:14:8: note: constexpr Point::Point(const Point&)
struct Point{
^
0_0_18909443_15139.cpp:14:8: note: candidate expects 1 argument, 0 provided
0_0_18909443_15139.cpp:14:8: note: constexpr Point::Point(Point&&)
0_0_18909443_15139.cpp:14:8: note: candidate expects 1 argument, 0 provided
0_0_18909443_15139.cpp:110:9: error: no matching function for call to 'Point::Point()'
Point p1,p2;
^
0_0_18909443_15139.cpp:110:9: note: candidates are:
0_0_18909443_15139.cpp:17:2: note: Point::Point(double, double)
Point (double xx,double yy){x=xx,y=yy;}
^
0_0_18909443_15139.cpp:17:2: note: candidate expects 2 arguments, 0 provided
0_0_18909443_15139.cpp:14:8: note: constexpr Point::Point(const Point&)
struct Point{
^
0_0_18909443_15139.cpp:14:8: note: candidate expects 1 argument, 0 provided
0_0_18909443_15139.cpp:14:8: note: constexpr Point::Point(Point&&)
0_0_18909443_15139.cpp:14:8: note: candidate expects 1 argument, 0 provided
0_0_18909443_15139.cpp:110:12: error: no matching function for call to 'Point::Point()'
Point p1,p2;
^
0_0_18909443_15139.cpp:110:12: note: candidates are:
0_0_18909443_15139.cpp:17:2: note: Point::Point(double, double)
Point (double xx,double yy){x=xx,y=yy;}
^
0_0_18909443_15139.cpp:17:2: note: candidate expects 2 arguments, 0 provided
0_0_18909443_15139.cpp:14:8: note: constexpr Point::Point(const Point&)
struct Point{
^
0_0_18909443_15139.cpp:14:8: note: candidate expects 1 argument, 0 provided
0_0_18909443_15139.cpp:14:8: note: constexpr Point::Point(Point&&)
0_0_18909443_15139.cpp:14:8: note: candidate expects 1 argument, 0 provided
0_0_18909443_15139.cpp: At global scope:
0_0_18909443_15139.cpp:144:2: error: use of deleted function 'polygon::polygon()'
}Pol;
^
0_0_18909443_15139.cpp:130:8: note: 'polygon::polygon()' is implicitly deleted because the default definition would be ill-formed:
struct polygon{
^
0_0_18909443_15139.cpp:130:8: error: no matching function for call to 'Point::Point()'
0_0_18909443_15139.cpp:130:8: note: candidates are:
0_0_18909443_15139.cpp:17:2: note: Point::Point(double, double)
Point (double xx,double yy){x=xx,y=yy;}
^
0_0_18909443_15139.cpp:17:2: note: candidate expects 2 arguments, 0 provided
0_0_18909443_15139.cpp:14:8: note: constexpr Point::Point(const Point&)
struct Point{
^
0_0_18909443_15139.cpp:14:8: note: candidate expects 1 argument, 0 provided
0_0_18909443_15139.cpp:14:8: note: constexpr Point::Point(Point&&)
0_0_18909443_15139.cpp:14:8: note: candidate expects 1 argument, 0 provided
0_0_18909443_15139.cpp: In function 'int main()':
0_0_18909443_15139.cpp:159:10: error: use of deleted function 'circle::circle()'
circle C;
^
0_0_18909443_15139.cpp:75:8: note: 'circle::circle()' is implicitly deleted because the default definition would be ill-formed:
struct circle {
^
0_0_18909443_15139.cpp:75:8: error: no matching function for call to 'Point::Point()'
0_0_18909443_15139.cpp:75:8: note: candidates are:
0_0_18909443_15139.cpp:17:2: note: Point::Point(double, double)
Point (double xx,double yy){x=xx,y=yy;}
^
0_0_18909443_15139.cpp:17:2: note: candidate expects 2 arguments, 0 provided
0_0_18909443_15139.cpp:14:8: note: constexpr Point::Point(const Point&)
struct Point{
^
0_0_18909443_15139.cpp:14:8: note: candidate expects 1 argument, 0 provided
0_0_18909443_15139.cpp:14:8: note: constexpr Point::Point(Point&&)
0_0_18909443_15139.cpp:14:8: note: candidate expects 1 argument, 0 provided
|