0_0_29208685_11689.cpp: In function 'int main()': 0_0_29208685_11689.cpp:44:45: error: 'scanf_s' was not declared in this scope scanf_s("%d:%d-%d:%d", &h1, &m1, &h2, &m2); ^