0_0_29561976_16736.cpp: In function 'int main()':
0_0_29561976_16736.cpp:29:41: error: too many arguments to function 'double distance()'
dmin = distance(x[1], y[1], x[2], y[2]);
^
0_0_29561976_16736.cpp:4:8: note: declared here
double distance();
^
0_0_29561976_16736.cpp:32:39: error: too many arguments to function 'double distance()'
d = distance(x[1], y[1], x[j], y[j]);
^
0_0_29561976_16736.cpp:4:8: note: declared here
double distance();
^
0_0_29561976_16736.cpp:42:39: error: too many arguments to function 'double distance()'
d = distance(x[1], y[1], x[j], y[j]);
^
0_0_29561976_16736.cpp:4:8: note: declared here
double distance();
^
0_0_29561976_16736.cpp:52:38: error: too many arguments to function 'double qiujiao()'
jiao = qiujiao(x, y, 1, dian1, j);
^
0_0_29561976_16736.cpp:6:8: note: declared here
double qiujiao();
^
0_0_29561976_16736.cpp:77:40: error: too many arguments to function 'double distance()'
d = distance(x[i], y[i], x[j], y[j]);
^
0_0_29561976_16736.cpp:4:8: note: declared here
double distance();
^
0_0_29561976_16736.cpp:93:36: error: too many arguments to function 'double qiujiao()'
if (qiujiao(x, y, i, dian1, j) != jiao)
^
0_0_29561976_16736.cpp:6:8: note: declared here
double qiujiao();
^
0_0_29561976_16736.cpp: At global scope:
0_0_29561976_16736.cpp:130:17: error: 'double distance' redeclared as different kind of symbol
double distance(x1, y1, x2, y2)
^
0_0_29561976_16736.cpp:4:8: note: previous declaration 'double distance()'
double distance();
^
0_0_29561976_16736.cpp:130:17: error: 'x1' was not declared in this scope
double distance(x1, y1, x2, y2)
^
0_0_29561976_16736.cpp:130:21: error: 'y1' was not declared in this scope
double distance(x1, y1, x2, y2)
^
0_0_29561976_16736.cpp:130:25: error: 'x2' was not declared in this scope
double distance(x1, y1, x2, y2)
^
0_0_29561976_16736.cpp:130:29: error: 'y2' was not declared in this scope
double distance(x1, y1, x2, y2)
^
0_0_29561976_16736.cpp:132:1: error: expected unqualified-id before '{' token
{
^
0_0_29561976_16736.cpp:136:18: error: 'double distance2' redeclared as different kind of symbol
double distance2(x, y, d1, d2)
^
0_0_29561976_16736.cpp:5:8: note: previous declaration 'double distance2()'
double distance2();
^
0_0_29561976_16736.cpp:136:18: error: 'x' was not declared in this scope
double distance2(x, y, d1, d2)
^
0_0_29561976_16736.cpp:136:21: error: 'y' was not declared in this scope
double distance2(x, y, d1, d2)
^
0_0_29561976_16736.cpp:136:24: error: 'd1' was not declared in this scope
double distance2(x, y, d1, d2)
^
0_0_29561976_16736.cpp:136:28: error: 'd2' was not declared in this scope
double distance2(x, y, d1, d2)
^
0_0_29561976_16736.cpp:138:1: error: expected unqualified-id before '{' token
{
^
0_0_29561976_16736.cpp:142:16: error: 'double qiujiao' redeclared as different kind of symbol
double qiujiao(x, y, d1, d2, d3)
^
0_0_29561976_16736.cpp:6:8: note: previous declaration 'double qiujiao()'
double qiujiao();
^
0_0_29561976_16736.cpp:142:16: error: 'x' was not declared in this scope
double qiujiao(x, y, d1, d2, d3)
^
0_0_29561976_16736.cpp:142:19: error: 'y' was not declared in this scope
double qiujiao(x, y, d1, d2, d3)
^
0_0_29561976_16736.cpp:142:22: error: 'd1' was not declared in this scope
double qiujiao(x, y, d1, d2, d3)
^
0_0_29561976_16736.cpp:142:26: error: 'd2' was not declared in this scope
double qiujiao(x, y, d1, d2, d3)
^
0_0_29561976_16736.cpp:142:30: error: 'd3' was not declared in this scope
double qiujiao(x, y, d1, d2, d3)
^
0_0_29561976_16736.cpp:144:1: error: expected unqualified-id before '{' token
{
^
|