0_0_23494809_3366.cpp:19:27: error: 'point' declared as function returning a function
point()(double a,double b)
^
0_0_23494809_3366.cpp: In function 'int inside_polygon(point, int, point*)':
0_0_23494809_3366.cpp:41:14: error: no matching function for call to 'point::point(int, int)'
point q2(0,0);
^
0_0_23494809_3366.cpp:41:14: note: candidates are:
0_0_23494809_3366.cpp:18:2: note: point::point()
point(){}
^
0_0_23494809_3366.cpp:18:2: note: candidate expects 0 arguments, 2 provided
0_0_23494809_3366.cpp:15:8: note: constexpr point::point(const point&)
struct point
^
0_0_23494809_3366.cpp:15:8: note: candidate expects 1 argument, 2 provided
0_0_23494809_3366.cpp:15:8: note: constexpr point::point(point&&)
0_0_23494809_3366.cpp:15:8: note: candidate expects 1 argument, 2 provided
0_0_23494809_3366.cpp: In function 'int main()':
0_0_23494809_3366.cpp:69:22: error: no matching function for call to 'point::point(double&, double&)'
p[cnt++]=point(x,y);
^
0_0_23494809_3366.cpp:69:22: note: candidates are:
0_0_23494809_3366.cpp:18:2: note: point::point()
point(){}
^
0_0_23494809_3366.cpp:18:2: note: candidate expects 0 arguments, 2 provided
0_0_23494809_3366.cpp:15:8: note: constexpr point::point(const point&)
struct point
^
0_0_23494809_3366.cpp:15:8: note: candidate expects 1 argument, 2 provided
0_0_23494809_3366.cpp:15:8: note: constexpr point::point(point&&)
0_0_23494809_3366.cpp:15:8: note: candidate expects 1 argument, 2 provided
0_0_23494809_3366.cpp:75:32: error: no matching function for call to 'point::point(double, double)'
point tmp(-v*t,b*t-0.5*g*t*t);
^
0_0_23494809_3366.cpp:75:32: note: candidates are:
0_0_23494809_3366.cpp:18:2: note: point::point()
point(){}
^
0_0_23494809_3366.cpp:18:2: note: candidate expects 0 arguments, 2 provided
0_0_23494809_3366.cpp:15:8: note: constexpr point::point(const point&)
struct point
^
0_0_23494809_3366.cpp:15:8: note: candidate expects 1 argument, 2 provided
0_0_23494809_3366.cpp:15:8: note: constexpr point::point(point&&)
0_0_23494809_3366.cpp:15:8: note: candidate expects 1 argument, 2 provided
|