0_0_34607706_12174.cpp: In function 'int main()': 0_0_34607706_12174.cpp:28:58: error: 'scanf_s' was not declared in this scope scanf_s("%d%d%d", &nodes[i].h, &nodes[i].m, &nodes[i].s); ^