0_0_29471923_29067.cpp: In function 'int main()': 0_0_29471923_29067.cpp:8:54: error: 'sprt' was not declared in this scope printf("%.2lf\n",sprt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2))); ^