Is there a way to suppress the warning for fopen (VS 2012 is suggesting I use fopen_s)? The following commands don't seem to work
#define _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_WARNINGS
Is there a way to suppress the warning for fopen (VS 2012 is suggesting I use fopen_s)? The following commands don't seem to work
#define _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_WARNINGS
Add _CRT_SECURE_NO_WARNINGS to your Project Properties under Configuration Properties -> C/C++ -> Preprocessor -> Preprocessor Definitions.