C4996 ‘localtime‘: This function or variable may be unsafe. Consider using localtime_s instead.
Question:C++使用localtime: time_ttimep; time(&timep); chartmp[256]; strftime(tmp,sizeof(tmp),"%Y-%m-%d%H:%M:%S",localtime(&timep)); Console::WriteLine(tmp);提示:警告14warningC4996:'localtime':This