解决VS编译报错C4996 ‘fopen‘: This function or variable may be unsafe. Consider using fopen_s instead...

VS BUG(1) error C4996: ‘fopen‘: This function or variable may be unsafe._mozun2020的博客-CSDN博客

 

_CRT_SECURE_NO_DEPRECATE

添加这个宏即可。

今日报错系列:‘fopen‘: This function or variable may be unsafe. Consider using fopen_s instead._All In !!!的博客-CSDN博客

你可能感兴趣的:(C/C++,c语言)