当前位置: 代码迷 >> 综合 >> VS2015 error c4996: 'fopen': This function or variable may be unsafe
  详细解决方案

VS2015 error c4996: 'fopen': This function or variable may be unsafe

热度:37   发布时间:2023-12-25 03:19:35.0

问题:

      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.
 

 

解决方法:

         项目 =》属性 =》c/c++  =》预处理器=》点击预处理器定义,编辑,加入_CRT_SECURE_NO_WARNINGS

  相关解决方案