error C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

解决方法:在cpp文件代码中添加以下代码:

#define _CRT_SECURE_NO_WARNINGS

Logo

一站式 AI 云服务平台

更多推荐