0_0_28198993_27924.cpp: In function 'int main()': 0_0_28198993_27924.cpp:4:40: error: 'scanf' was not declared in this scope scanf("%lf%lf%lf%lf",&x1,&y1,&x2,&y2); ^