Every scanf
gets an error of C4996, use scanf_s instead.
I read every similar post about this issue and I know I can solve this issue with #pragma warning(disable : 4996)
, but what I want to ask is I was using vstudio before and it never happened to me before. I can compile without problem in CodeBlocks or DevC++ but why exactly is this happening and if I disable warnings, would that affect my code in any way?