最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

This function or variable may be unsafe. Consider using strcpy s instead. To disable deprecation, US

运维笔记admin16浏览0评论

vs2022报错

  • ‘strcpy’: This function or variable may be unsafe. Consider using strcpy s instead. To disable deprecation, USe CRT SECURE NO WARNINGS.See online help for details.
  • ‘strcat’: This function or variable may be unsafe. Consider using strcpy s instead. To disable deprecation, USe CRT SECURE NO WARNINGS.See online help for details.

解决方法

include前面加上宏定义:

#define _CRT_SECURE_NO_WARNINGS

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论