0_0_35286962_6193.cpp:15:21: error: 'dist' declared as an 'inline' variable
inline double dist( x1,int y1,int x2,int y2){
^
0_0_35286962_6193.cpp:15:24: error: expected primary-expression before 'int'
inline double dist( x1,int y1,int x2,int y2){
^
0_0_35286962_6193.cpp:15:31: error: expected primary-expression before 'int'
inline double dist( x1,int y1,int x2,int y2){
^
0_0_35286962_6193.cpp:15:38: error: expected primary-expression before 'int'
inline double dist( x1,int y1,int x2,int y2){
^
0_0_35286962_6193.cpp:15:44: error: expression list treated as compound expression in initializer [-fpermissive]
inline double dist( x1,int y1,int x2,int y2){
^
0_0_35286962_6193.cpp:15:45: error: expected ',' or ';' before '{' token
inline double dist( x1,int y1,int x2,int y2){
^
0_0_35286962_6193.cpp: In function 'double check(double)':
0_0_35286962_6193.cpp:22:31: error: 'dist' cannot be used as a function
double d1=dist(x1,y1,x2,y2);
^
0_0_35286962_6193.cpp:23:31: error: 'dist' cannot be used as a function
double d2=dist(dx,dy,x2,y2);
^
0_0_35286962_6193.cpp: In function 'double f(double)':
0_0_35286962_6193.cpp:39:28: error: 'dist' cannot be used as a function
return dist(ax,ay,x1,y1)/p+check(lmid);
^
0_0_35286962_6193.cpp: In function 'int main()':
0_0_35286962_6193.cpp:61:28: error: 'dist' cannot be used as a function
ab=dist(ax,ay,bx,by);
^
0_0_35286962_6193.cpp:62:28: error: 'dist' cannot be used as a function
cd=dist(cx,cy,dx,dy);
^
|