0_0_24959747_14306.cpp: In function 'int main()': 0_0_24959747_14306.cpp:29:43: error: 'scanf_s' was not declared in this scope scanf_s("%lf%lf", &coor[i].x, &coor[i].y); ^