更新时间:2022-06-20 04:07:37
这不是错误,而是警告。您使用的是过时的功能(已经已弃用 [ ^ ])它建议更现代的版本: ctime,ctime_s - cppreference.com [ ^ ]
你可以忽略它这样的简单程序,或使用更新的代码。
It's not an error, it's a warning. You are using an outdated function (it's been Depreciated[^] ) and it's suggesting a more modern version: ctime, ctime_s - cppreference.com[^]
You can ignore it for a simple program like this, or use the newer code.
参见ctime_s,_ctime32_s,_ctime64_s,_wctime_s,_wctime32_s,_wctime64_s [ ^ ]。