0

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
jsan
  • 1,047
  • 8
  • 20
  • 33

1 Answers1

0

Add _CRT_SECURE_NO_WARNINGS to your Project Properties under Configuration Properties -> C/C++ -> Preprocessor -> Preprocessor Definitions.

jdbwillia
  • 36
  • 1
  • 6