0_0_21288115_26005.cpp: In function 'std::istream& operator>>(std::istream&, Time&)': 0_0_21288115_26005.cpp:35:55: error: 'sscanf_s' was not declared in this scope sscanf_s(timestr.c_str(), "%d:%d", &t.hour, &t.minute); ^