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