You need to place a definition of #define _CRT_SECURE_NO_DEPRECATE
before your include. Like,
#define _CRT_SECURE_NO_DEPRECATE
#include <stdio.h>
solved error C4996: visual studio: why do I get an error when I use fopen in c? [duplicate]
You need to place a definition of #define _CRT_SECURE_NO_DEPRECATE
before your include. Like,
#define _CRT_SECURE_NO_DEPRECATE
#include <stdio.h>
solved error C4996: visual studio: why do I get an error when I use fopen in c? [duplicate]