0_0_18568819_22054.cpp: In function 'int main()': 0_0_18568819_22054.cpp:7:47: error: 'scanf_s' was not declared in this scope while (scanf_s("%d/%d/%d", &year,&month, &day)) ^