0_0_32855455_11916.cpp: In function 'bool cmp(point&, point&)':
0_0_32855455_11916.cpp:41:29: error: no match for 'operator*' (operand types are 'point' and 'point')
double cp = (ps[0] - a) * (b - a);
^
0_0_32855455_11916.cpp:41:29: note: candidate is:
0_0_32855455_11916.cpp:30:12: note: double point::operator*(point&)
double operator * (point &o)
^
0_0_32855455_11916.cpp:30:12: note: no known conversion for argument 1 from 'point' to 'point&'
0_0_32855455_11916.cpp: In function 'double GHS()':
0_0_32855455_11916.cpp:61:33: error: no match for 'operator*' (operand types are 'point' and 'point')
for (i = 2; (ps[0] - ps[1]) * (ps[i] - ps[1]) == 0; i++);
^
0_0_32855455_11916.cpp:61:33: note: candidate is:
0_0_32855455_11916.cpp:30:12: note: double point::operator*(point&)
double operator * (point &o)
^
0_0_32855455_11916.cpp:30:12: note: no known conversion for argument 1 from 'point' to 'point&'
0_0_32855455_11916.cpp:65:64: error: no match for 'operator*' (operand types are 'point' and 'point')
while ((chul[chul.size() - 2] - chul[chul.size() - 1]) * (ps[i] - chul[chul.size() - 1]) >= 0)
^
0_0_32855455_11916.cpp:65:64: note: candidate is:
0_0_32855455_11916.cpp:30:12: note: double point::operator*(point&)
double operator * (point &o)
^
0_0_32855455_11916.cpp:30:12: note: no known conversion for argument 1 from 'point' to 'point&'
|