MSVC compiler says that fopen() is deprecated, and recommends the use of fopen_s().
fopen()
fopen_s()
Is there any way to use fopen_s() and stil
#define fopen_s(fp, fmt, mode) ({\ *(fp)=fopen( (fmt), (mode));\ (*(fp) ) ? 0:errno;\ })