原文網址:http://jingyan.baidu.com/article/ce436649fd61543773afd32e.html
今天編寫控制臺應用程序時出現如下錯誤
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.
1>f:\program files (x86)\microsoft visual studio 12.0\vc\include\stdio.h(211) : 參見“fopen”的聲明
?
快速解決方法如下