0_0_35237401_9119.cpp: In function 'int main(int, char**)': 0_0_35237401_9119.cpp:10:53: error: 'sqrt' was not declared in this scope printf("%f\n",sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2))); ^