当前位置: 代码迷 >> 综合 >> VS 报错error C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead.
  详细解决方案

VS 报错error C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead.

热度:127   发布时间:2023-09-29 15:51:56.0

转载https://blog.csdn.net/sgfmby1994/article/details/80432205

在调试Hough Forest的源代码时出现如下错误:

VS 报错error C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead.

解决方法:

解决方案,项目 =》属性 =》c/c++  =》预处理器=》点击预处理器定义,编辑,加入_CRT_SECURE_NO_WARNINGS,即可。

VS 报错error C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead.

  相关解决方案