VS2013 VC++中如何解决error C4996: 'fopen'问题
VS2013中如何解决error C4996: 'fopen'问题
听语音
- |
- 浏览:35066
- |
- 更新:2015-03-31 11:14
今天编写控制台应用程序时出现如下错误
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”的声明
快速解决方法如下